mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-03 18:11:20 +00:00
Makefile's generally hate spaces in filenames, and it's largely impossible to make them work. Due to that, with the change to use a `Makefile` the `EXE=` parameter did not work with spaces, and programs such as "foo bar.bas" would not compile because it produces "foo bar.exe" which has a space in the name. There were options here, but in this very specific case it is actually possible to allow the Makefile to work with spaces. `EXE` is only a single filename, so as long as we always quote it correctly and the provided `EXE=` parameter escapes the spaces with `\` then it will work. Thus, we modified the Makefile to always do the quoting, and modified QB64 to automatically escape the spaces in the executable name provided to the Makefile. I also modified the `compile_tests` to test that spaces in filenames and paths of the executable correctly compile. Fixes: #80 |
||
---|---|---|
.. | ||
compile_tests | ||
dist | ||
qbasic_testcases | ||
.gitignore | ||
assert.sh | ||
colors.sh | ||
compile_tests.sh | ||
dist_tests.sh | ||
qbasic_tests.sh | ||
run_dist_tests.sh | ||
run_tests.sh |