AmziLS / AmziProlog

Amzi! Prolog: complete system to interpret, build, run and debug Prolog programs, but also embed and query them similar to databases.
Other
117 stars 26 forks source link

Makefiles choke sometimes on * and \ characters #34

Open maelh opened 3 years ago

maelh commented 3 years ago

For example langbindings\java\make_win64.txt

Would not execute @-sildel /Q amzi\ls\*.class properly and instead execute @-sildel /Q amzi\ls*.class, i.e., omitting one backslash, and therefore fail. Addiing quotes around "amzi\ls\*.class" fixed the issue.

There might be other places in makefiles, that are affected by it. Before changing them all, look up how GNU make handles paths and * and \ etc. under Windows.