summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2013-03-11 15:48:26 -0500
committerJason Parker <jparker@digium.com>2013-03-11 15:48:26 -0500
commit1873b7a03a08b00140610d531bb6c0bb71e0e91a (patch)
treecc5cb46cfdcc6618b85da82e69550325b0515a0d /pjlib
parentd66961ab59a59cc5684a8e59c7e581bd07978010 (diff)
parent74ce69c77a8ed993870e6cc22582a1dea8e918e6 (diff)
Merge branch 'patch/parallel-build' of github.com:asterisk/pjproject
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/build/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile
index a36f5f4..272206d 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