From 74ce69c77a8ed993870e6cc22582a1dea8e918e6 Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Wed, 30 Jan 2013 15:23:42 -0600 Subject: Add proper dependency checking, so that parallel builds work. This also lets you build individual library files, rather than aliases. --- pjlib-util/build/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'pjlib-util/build/Makefile') diff --git a/pjlib-util/build/Makefile b/pjlib-util/build/Makefile index d2ad65a..6c37979 100644 --- a/pjlib-util/build/Makefile +++ b/pjlib-util/build/Makefile @@ -69,12 +69,16 @@ doc: dep: depend distclean: realclean -.PHONY: dep depend pjlib pjlib-test clean realclean distclean +.PHONY: dep depend clean realclean distclean +.PHONY: $(TARGETS) +.PHONY: $(PJLIB_UTIL_LIB) $(UTIL_TEST_EXE) -pjlib-util: +pjlib-util: $(PJLIB_UTIL_LIB) +$(PJLIB_UTIL_LIB): $(MAKE) -f $(RULES_MAK) APP=PJLIB_UTIL app=pjlib-util $(PJLIB_UTIL_LIB) -pjlib-util-test: pjlib-util +pjlib-util-test: $(UTIL_TEST_EXE) +$(UTIL_TEST_EXE): $(PJLIB_UTIL_LIB) $(MAKE) -f $(RULES_MAK) APP=UTIL_TEST app=pjlib-util-test $(UTIL_TEST_EXE) .PHONY: ../lib/pjlib-util.ko -- cgit v1.2.3