diff Makefile @ 136:9af23d9584d8

Using $(MAKE) instead of make
author Thinker K.F. Li <thinker@branda.to>
date Fri, 19 Sep 2008 09:46:54 +0800
parents 4d2e28188460
children
line wrap: on
line diff
--- a/Makefile	Thu Sep 18 17:12:41 2008 +0800
+++ b/Makefile	Fri Sep 19 09:46:54 2008 +0800
@@ -3,20 +3,20 @@
 all:
 .for i in $(SUBDIRS)
 	@echo "==> Enter subdirectory $(i)"
-	@cd ${i}; make $@
+	@cd ${i}; $(MAKE) $@
 	@echo "<== Leave subdirectory $(i)"
 .endfor
 
 install:
 .for i in $(SUBDIRS)
 	@echo "==> Enter subdirectory $(i)"
-	@cd ${i}; make $@
+	@cd ${i}; $(MAKE) $@
 	@echo "<== Leave subdirectory $(i)"
 .endfor
 
 clean:
 .for i in $(SUBDIRS)
 	@echo "==> Enter subdirectory $(i)"
-	@cd ${i}; make $@
+	@cd ${i}; $(MAKE) $@
 	@echo "<== Leave subdirectory $(i)"
 .endfor