forked from HermesApp/Hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (19 loc) · 665 Bytes
/
Makefile
File metadata and controls
26 lines (19 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
XCB = xcodebuild
CONFIGURATION = Debug
HERMES = ./build/$(CONFIGURATION)/Hermes.app/Contents/MacOS/Hermes
DEBUGGER = gdb
# For some reason the project's SYMROOT setting is ignored when we specify an
# explicit -project option. The -project option is required when using xctool.
COMMON_OPTS = -project Hermes.xcodeproj SYMROOT=build
all: hermes
hermes:
$(XCB) $(COMMON_OPTS) -configuration $(CONFIGURATION) -scheme Hermes
run: hermes
$(HERMES)
dbg: hermes
$(DEBUGGER) $(HERMES)
archive:
$(XCB) $(COMMON_OPTS) -configuration Release -target 'Build sparkle metadata'
clean:
$(XCB) $(COMMON_OPTS) -scheme Hermes clean
rm -rf build