--- a/stage1_2/Makefile Thu Aug 27 16:29:23 2009 +0100
+++ b/stage1_2/Makefile Wed Mar 30 19:53:32 2011 +0100
@@ -3,12 +3,11 @@
-default: all
+default: all
all: iec.flex.o iec.y.o stage1_2.o
clean:
- echo > Makefile.depend
-rm -f iec.flex.c iec.y.cc iec.y.hh iec.y.output
-rm -f iec.noerrorcheck.y
-rm -f test_flex
@@ -22,7 +21,7 @@
iec.flex.c: iec.flex
flex -oiec.flex.c iec.flex
-stage1_2.cc: iec.y.hh
+stage1_2.o: 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)
@@ -44,10 +43,3 @@
../% /%:
$(MAKE) -C $(@D) $(@F)
-
-Makefile.depend depend:
- $(CXX) -MM -MG -I. *.cc > Makefile.depend
- #| perl -pe 's/:/ Makefile.depend:/' > Makefile.depend
-
-include Makefile.depend
-