Browse Source

Add app build to Makefile

Thomas Buck 9 years ago
parent
commit
2d4b879ea6
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      Makefile

+ 5
- 1
Makefile View File

@@ -7,11 +7,15 @@
7 7
 
8 8
 CFLAGS ?= -Wall -pedantic -std=c11
9 9
 
10
-all: bin/protocol bin/foohid
10
+all: bin/protocol bin/foohid SerialGamepad.app
11 11
 
12 12
 install: all
13 13
 	cp bin/protocol ~/bin/protocol
14 14
 	cp bin/foohid ~/bin/foohid
15
+	cp -r build/Release/SerialGamepad.app /Applications/SerialGamepad.app
16
+
17
+SerialGamepad.app:
18
+	xcodebuild
15 19
 
16 20
 bin/protocol: src/serial.o src/protocol.o
17 21
 	@mkdir -p bin

Loading…
Cancel
Save