mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
invoke make for just the first Makefile from list
This commit is contained in:
parent
ac0f42367f
commit
1ac8aa2bc6
@ -83,8 +83,10 @@ int main(int argc, char **argv) {
|
||||
set_linux();
|
||||
#endif
|
||||
for(string fname: {"Makefile.loc", "Makefile.simple", "Makefile"})
|
||||
if(file_exists(fname))
|
||||
if(file_exists(fname)) {
|
||||
system("make -f " + fname + " language-data.cpp autohdr.h savepng.o");
|
||||
break;
|
||||
}
|
||||
for(int i=1; i<argc; i++) {
|
||||
string s = argv[i];
|
||||
if(s.substr(0, 2) == "-D") {
|
||||
|
Loading…
Reference in New Issue
Block a user