Makefile
changeset 340 27a56785e9cd
parent 279 c0453b7f99df
child 347 44ff2a6fcadc
--- a/Makefile	Sat Jul 09 14:17:52 2011 +0100
+++ b/Makefile	Sat Jul 09 14:48:31 2011 +0100
@@ -42,7 +42,7 @@
 	-rm -f iec2iec iec2c *.o absyntax/*.o
 	echo > Makefile.depend
 # make something everywhere (ie, in all Makefiles that have that target)
-	find . -depth -mindepth 2 -maxdepth 2 -name Makefile | sed 's/Makefile//g' | xargs -I {} make -C{} clean
+	find . -depth -mindepth 2 -maxdepth 2 -name Makefile | sed 's/Makefile//g' | xargs -I {} $(MAKE) -C{} clean
 
 CXXFLAGS += -I.