diff options
author | Jason Parker <jparker@digium.com> | 2013-01-30 15:23:42 -0600 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2013-03-11 15:19:15 -0500 |
commit | 74ce69c77a8ed993870e6cc22582a1dea8e918e6 (patch) | |
tree | 8def2a05c0a230623f415d3ffdef0684ecfcc4f6 /pjsip-apps | |
parent | 483805f79570115ab95c69698792d238c1719b1b (diff) |
Add proper dependency checking, so that parallel builds work.
This also lets you build individual library files, rather than aliases.
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/build/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pjsip-apps/build/Makefile b/pjsip-apps/build/Makefile index 146e841..b5f4c8a 100644 --- a/pjsip-apps/build/Makefile +++ b/pjsip-apps/build/Makefile @@ -57,8 +57,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: @@ -66,12 +64,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: |