diff options
author | Liong Sauw Ming <ming@teluu.com> | 2013-10-23 06:39:47 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2013-10-23 06:39:47 +0000 |
commit | 8ce6e77067d4d7ebbd49554328295e8e98214c3a (patch) | |
tree | 1c581a3fc0cdd9bf7285f7663489561f90ea4f4d /pjlib/build/Makefile | |
parent | c7812eb153df4b3f69123bc44bdab669643031a8 (diff) |
Fixed #1707: Add support for paralel build
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4632 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/build/Makefile')
-rw-r--r-- | pjlib/build/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile index a36f5f44..272206d7 100644 --- a/pjlib/build/Makefile +++ b/pjlib/build/Makefile @@ -77,17 +77,21 @@ depend: ../include/pj/config_site.h echo '$(TEST_EXE): $(PJLIB_LIB)' >> .pjlib-test-$(TARGET_NAME).depend -.PHONY: dep depend pjlib pjlib-test clean realclean distclean +.PHONY: dep depend clean realclean distclean +.PHONY: $(TARGETS) +.PHONY: $(PJLIB_LIB) $(TEST_EXE) dep: depend -pjlib: ../include/pj/config_site.h +pjlib: $(PJLIB_LIB) +$(PJLIB_LIB): ../include/pj/config_site.h $(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib $(PJLIB_LIB) ../include/pj/config_site.h: touch ../include/pj/config_site.h - -pjlib-test: pjlib + +pjlib-test: $(TEST_EXE) +$(TEST_EXE): $(PJLIB_LIB) $(MAKE) -f $(RULES_MAK) APP=TEST app=pjlib-test $(TEST_EXE) .PHONY: ../lib/pjlib.ko |