diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,2 +1,12 @@ +LIB_DEBUG := ~/Library/Developer/Xcode/DerivedData/dome_key_event_source_simulator-*/Build/Products/Debug/libdome_key_event_source_simulator.a + +.PHONY: build build: xcodebuild -scheme dome_key_event_source_simulator -configuration Debug + +test: test.c $(LIB_DEBUG) + gcc -g -Wall -Wextra -Werror -ObjC \ + -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk \ + -o $@ \ + $< \ + $(LIB_DEBUG) |
