3 ms·
In GNU make? Actually, yes: $ cat Makefile a\ file: ; echo 123 > '$@' $ make echo 123 > 'a file' $ cat a\ file 123
by EuAndreh 3y ago
In GNU make? Actually, yes:
$ cat Makefile
a\ file: ; echo 123 > '$@'
$ make
echo 123 > 'a file'
$ cat a\ file
123
- booi 3y agoAFAIK this does work but it’s a limited workaround. Make in general just does not support file names with spaces well. http://savannah.gnu.org/bugs/?712 http://savannah.gnu.org/bugs/?712 That being said… In projects I just avoid filenames with spaces in general