aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2023-09-05 02:00:17 +0200
committerTeddy Wing2023-09-05 02:00:17 +0200
commitf8675ee766d8947099716290a7c0e3eafb421916 (patch)
tree0ecf450d8e8ee4242005671623bc289baba69486 /Makefile
parent7f21eec43ee50fe784f20e38019496665b1cbd30 (diff)
downloadBase-Windowed-Application-f8675ee766d8947099716290a7c0e3eafb421916.tar.bz2
Makefile: Try building an app with no spaces in its name
It technically works, but with a lot of cruft: $ make app find: build/Nospace.app: No such file or directory Makefile:52: warning: overriding commands for target `build/Nospace.app' Makefile:40: warning: ignoring old commands for target `build/Nospace.app' Makefile:62: warning: overriding commands for target `build/Nospace.app/Contents/MacOS/Nospace' Makefile:44: warning: ignoring old commands for target `build/Nospace.app/Contents/MacOS/Nospace' mkdir -p build/Nospace.app mkdir -p build/Nospace.app/Contents mkdir -p build/Nospace.app/Contents/MacOS make: Circular build/Nospace.app/Contents/MacOS/Nospace <- build/Nospace.app/Contents/MacOS/Nospace dependency dropped. cc \ -framework Cocoa \ -o "build/Nospace.app/Contents/MacOS/Nospace" \ src/MainMenu.o src/main.o src/AppDelegate.o cp Info.plist "build/Nospace.app/Contents/Info.plist" mkdir -p build/Nospace.app/Contents/Resources cp -R Internationalization/en.lproj "build/Nospace.app/Contents/Resources/en.lproj" cp -R Internationalization/fr.lproj "build/Nospace.app/Contents/Resources/fr.lproj" I'd like to make it work without the warnings, or at least without the circular dependency.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f2fb483..ce49cc1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-APP_NAME := Base\ Windowed\ Application
+APP_NAME := Nospace
NBSP := $(shell perl -C -e 'print chr 0xfeff')
APP_NAME_NOSPACE := $(subst \ ,$(NBSP),$(APP_NAME))