summaryrefslogtreecommitdiff
path: root/pjsip-apps
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2013-10-23 06:39:47 +0000
committerLiong Sauw Ming <ming@teluu.com>2013-10-23 06:39:47 +0000
commit8ce6e77067d4d7ebbd49554328295e8e98214c3a (patch)
tree1c581a3fc0cdd9bf7285f7663489561f90ea4f4d /pjsip-apps
parentc7812eb153df4b3f69123bc44bdab669643031a8 (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 'pjsip-apps')
-rw-r--r--pjsip-apps/build/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/pjsip-apps/build/Makefile b/pjsip-apps/build/Makefile
index 6e5f2874..ad7fc726 100644
--- a/pjsip-apps/build/Makefile
+++ b/pjsip-apps/build/Makefile
@@ -58,8 +58,6 @@ export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT
#
TARGETS := pjsua pjsystest samples
-.PHONY: $(TARGETS)
-
all: $(TARGETS)
doc:
@@ -67,12 +65,16 @@ doc:
dep: depend
distclean: realclean
-.PHONY: dep depend pjsua clean realclean distclean
+.PHONY: dep depend clean realclean distclean
+.PHONY: $(TARGETS)
+.PHONY: $(PJSUA_EXE) $(PJSYSTEST_EXE)
-pjsua:
+pjsua: $(PJSUA_EXE)
+$(PJSUA_EXE):
$(MAKE) -f $(RULES_MAK) APP=PJSUA app=pjsua $(PJSUA_EXE)
-pjsystest:
+pjsystest: $(PJSYSTEST_EXE)
+$(PJSYSTEST_EXE):
$(MAKE) -f $(RULES_MAK) APP=PJSYSTEST app=pjsystest $(PJSYSTEST_EXE)
samples: