stage1_2/Makefile
changeset 270 f1674941c3ad
parent 258 d7d92b2f87e9
child 279 c0453b7f99df
--- a/stage1_2/Makefile	Fri Apr 01 11:10:06 2011 +0200
+++ b/stage1_2/Makefile	Mon Apr 04 13:25:39 2011 +0200
@@ -3,7 +3,7 @@
 
 
 
-default:	all
+default: all
 
 all: iec.flex.o iec.y.o stage1_2.o
 
@@ -15,6 +15,7 @@
 	-rm -f stage1_2.o
 	-rm -f iec.y.o
 	-rm -f iec.flex.o
+	-rm -f Makefile.depend
 
 
 CFLAGS += -I. -I../* -I../../absyntax
@@ -22,7 +23,8 @@
 iec.flex.c: iec.flex
 	flex -oiec.flex.c iec.flex
 
-stage1_2.cc: iec.y.hh
+stage1_2.cc: iec.y.hh 
+stage1_2.o: stage1_2.cc
 
 iec.flex.o: iec.y.hh iec.flex.c
 	$(CXX) -c iec.flex.c -D DEFAULT_LIBDIR='"$(IECLIBDIR)"' $(CFLAGS)