aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-10-15 19:31:56 +0200
committerTeddy Wing2018-10-15 19:31:56 +0200
commit051a9afdad6a004053bbfc1adf25b9d28b67c31f (patch)
treee2f1f3a30a60f03189916afd4a3c78da7ac7ac17
parent51a574c13e42d565e530fcb88b6b8bcdfd45f3e3 (diff)
downloaddome_key_event_source_simulator-051a9afdad6a004053bbfc1adf25b9d28b67c31f.tar.bz2
Makefile: Add a `clean` target
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 25cf9b1..b12c5de 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,10 @@ build: $(LIB_DEBUG)
$(LIB_DEBUG): $(SOURCES)
xcodebuild -scheme dome_key_event_source_simulator -configuration Debug
+.PHONY: clean
+clean:
+ xcodebuild -scheme dome_key_event_source_simulator -configuration Debug clean
+
test: test.c $(LIB_DEBUG)
gcc -g -Wall -Wextra -Werror -ObjC \
-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk \