Fixed (again) some Makefile quirks.
authoretisserant
Thu, 19 Mar 2009 16:21:30 +0100
changeset 172 bfa2e7806d7d
parent 171 59f5197b088a
child 173 160cb7c26bae
Fixed (again) some Makefile quirks.
absyntax/Makefile
stage1_2/Makefile
--- a/absyntax/Makefile	Mon Mar 02 09:27:55 2009 +0100
+++ b/absyntax/Makefile	Thu Mar 19 16:21:30 2009 +0100
@@ -10,7 +10,6 @@
 
 clean:
 	rm -f *.o
-	find . -depth -mindepth 2 -maxdepth 2 -name Makefile -printf %h\\n | xargs -i make -C{} $@
 
 
 #get warnings, debugging information and optimization
--- a/stage1_2/Makefile	Mon Mar 02 09:27:55 2009 +0100
+++ b/stage1_2/Makefile	Thu Mar 19 16:21:30 2009 +0100
@@ -12,12 +12,18 @@
 	-rm -f iec.flex.c iec.y.cc iec.y.hh iec.y.output
 	-rm -f iec.noerrorcheck.y
 	-rm -f test_flex
+	-rm -f stage1_2.o
+	-rm -f iec.y.o
+	-rm -f iec.flex.o
+
 
 CFLAGS += -I. -I../* -I../../absyntax
 
 iec.flex.c: iec.flex
 	flex -oiec.flex.c iec.flex
 
+stage1_2.cc: iec.y.hh
+
 iec.flex.o: iec.y.hh iec.flex.c
 	$(CXX) -c iec.flex.c -D DEFAULT_LIBDIR='"$(IECLIBDIR)"' $(CFLAGS)