aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2023-09-30 01:36:32 +0200
committerTeddy Wing2023-09-30 01:36:32 +0200
commit17ecda6af3611a5e0c19b16b5a3592695aaea544 (patch)
treea0f30c2bd617c0bceba2a546e4c70294b3c1e3ed /Makefile
parentf9321f4c7af6e578ab559213b56c307c21d18a87 (diff)
downloadBase-Windowed-Application-17ecda6af3611a5e0c19b16b5a3592695aaea544.tar.bz2
Try to get app name from compiler flag
This isn't working with the spaces handling. Not sure if I want to keep going with this approach as it feels like spaces and escaping is going to get hairy to deal with.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cfa25a1..df1cb72 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ LOCALIZABLE_STRINGS := $(shell find Internationalization -name Localizable.strin
CFLAGS += -x objective-c
CFLAGS += -Wall -Werror
+CFLAGS += -DMK_APP_NAME="@\"$(APP_NAME)\""
LDFLAGS += -framework Cocoa