stage1_2/Makefile
changeset 172 bfa2e7806d7d
parent 159 1e4eb0d48385
child 243 bdfee1f5be9e
child 257 90782e241346
equal deleted inserted replaced
171:59f5197b088a 172:bfa2e7806d7d
    10 clean:
    10 clean:
    11 	echo > Makefile.depend
    11 	echo > Makefile.depend
    12 	-rm -f iec.flex.c iec.y.cc iec.y.hh iec.y.output
    12 	-rm -f iec.flex.c iec.y.cc iec.y.hh iec.y.output
    13 	-rm -f iec.noerrorcheck.y
    13 	-rm -f iec.noerrorcheck.y
    14 	-rm -f test_flex
    14 	-rm -f test_flex
       
    15 	-rm -f stage1_2.o
       
    16 	-rm -f iec.y.o
       
    17 	-rm -f iec.flex.o
       
    18 
    15 
    19 
    16 CFLAGS += -I. -I../* -I../../absyntax
    20 CFLAGS += -I. -I../* -I../../absyntax
    17 
    21 
    18 iec.flex.c: iec.flex
    22 iec.flex.c: iec.flex
    19 	flex -oiec.flex.c iec.flex
    23 	flex -oiec.flex.c iec.flex
       
    24 
       
    25 stage1_2.cc: iec.y.hh
    20 
    26 
    21 iec.flex.o: iec.y.hh iec.flex.c
    27 iec.flex.o: iec.y.hh iec.flex.c
    22 	$(CXX) -c iec.flex.c -D DEFAULT_LIBDIR='"$(IECLIBDIR)"' $(CFLAGS)
    28 	$(CXX) -c iec.flex.c -D DEFAULT_LIBDIR='"$(IECLIBDIR)"' $(CFLAGS)
    23 
    29 
    24 iec.y.hh iec.y.cc: iec.y
    30 iec.y.hh iec.y.cc: iec.y