mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	mymake accepts modules with *.cpp extension
This commit is contained in:
		| @@ -81,7 +81,11 @@ int main(int argc, char **argv) { | ||||
|       } | ||||
|     else if(s.substr(0, 2) == "-I") | ||||
|       linker += " " + s; | ||||
|     else modules.push_back(s); | ||||
|     else { | ||||
|       if(s.size() >= 5 && s.substr(s.size() - 4) == ".cpp") | ||||
|         s = s.substr(0, s.size() - 4); | ||||
|       modules.push_back(s); | ||||
|       } | ||||
|     } | ||||
|   if(!optimized) | ||||
|     compiler += " -g3"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue