Makefile 873 Bytes
Newer Older
1
MODULES = WTF JavaScriptCore ThirdParty/ANGLE WebCore WebInspectorUI WebKit WebKit2
2

3 4 5 6 7 8
ifneq (,$(findstring iphoneos,$(SDKROOT)))
	MODULES = WTF JavaScriptCore ThirdParty/ANGLE WebCore WebKit
else ifneq (,$(findstring iphonesimulator,$(SDKROOT)))
	MODULES = WTF JavaScriptCore ThirdParty/ANGLE WebCore WebKit
endif

9 10 11 12
all:
	@for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
	if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done

13
debug d:
14 15 16
	@for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
	if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done

17
release r:
18 19 20 21 22 23
	@for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
	if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done

clean:
	@for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
	if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done