git » nmdb » commit 545e55b

Fix recursive make invocations

author Alberto Bertogli
2008-03-22 23:40:44 UTC
committer Alberto Bertogli
2008-03-22 23:40:44 UTC
parent 842e0bc1bc5126436159f0ad63c085a6ce928191

Fix recursive make invocations

Make should be invoked using $(MAKE), not by calling "make" directly. That
breaks, among other things, when make is not gmake or when trying to use
-jN.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

Makefile +9 -9

diff --git a/Makefile b/Makefile
index dee63c9..5eb5ac9 100644
--- a/Makefile
+++ b/Makefile
@@ -4,23 +4,23 @@ all: default
 default: nmdb libnmdb utils
 
 nmdb:
-	make -C nmdb
+	$(MAKE) -C nmdb
 
 libnmdb:
-	make -C libnmdb
+	$(MAKE) -C libnmdb
 
 utils:
-	make -C utils
+	$(MAKE) -C utils
 
 install:
-	make -C nmdb install
-	make -C libnmdb install
-	make -C utils install
+	$(MAKE) -C nmdb install
+	$(MAKE) -C libnmdb install
+	$(MAKE) -C utils install
 
 clean:
-	make -C nmdb clean
-	make -C libnmdb clean
-	make -C utils clean
+	$(MAKE) -C nmdb clean
+	$(MAKE) -C libnmdb clean
+	$(MAKE) -C utils clean
 
 
 python: