changeset 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 81c03fdd94d0
children 5dcfaafd1a9c
files Makefile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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