aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2023-08-22 20:48:31 +0200
committerTeddy Wing2023-08-22 20:48:31 +0200
commitb7e92ec1e0d1031b5ecb91f9653dcc507651d57f (patch)
tree7759f9386101cada052df58716f42acc34670c75 /Makefile
parent6eafac8dcdd52eb8b1b386747116d9f5a9b63569 (diff)
downloadBase-Windowed-Application-b7e92ec1e0d1031b5ecb91f9653dcc507651d57f.tar.bz2
Makefile: Add targets to generate a Localizable.strings file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8ddc10c..f25a5e8 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,14 @@ $(PRODUCT): $(OBJECTS) | build
build:
mkdir -p build
+
+.PHONY: genstrings
+genstrings: Base.lproj/Localizable.strings
+
+Base.lproj/Localizable.strings: $(SOURCES)
+ genstrings -o Base.lproj $^
+
+
.PHONY: clean
clean:
rm $(OBJECTS)