Makefile
changeset 268 1eba01e3fb70
parent 243 bdfee1f5be9e
child 279 c0453b7f99df
equal deleted inserted replaced
267:0a1204bcc9af 268:1eba01e3fb70
    22 
    22 
    23 clean:
    23 clean:
    24 	-rm -f iec2iec iec2c *.o absyntax/*.o
    24 	-rm -f iec2iec iec2c *.o absyntax/*.o
    25 	echo > Makefile.depend
    25 	echo > Makefile.depend
    26 # make something everywhere (ie, in all Makefiles that have that target)
    26 # make something everywhere (ie, in all Makefiles that have that target)
    27 	find . -depth -mindepth 2 -maxdepth 2 -name Makefile -printf %h\\n | xargs -i make -C{} $@
    27 	find . -depth -mindepth 2 -maxdepth 2 -name Makefile | sed 's/Makefile//g' | xargs -I {} make -C{} clean
    28 
    28 
    29 CXXFLAGS += -I.
    29 CXXFLAGS += -I.
    30 
    30 
    31 LIBS  = absyntax/absyntax.o absyntax/visitor.o
    31 LIBS  = absyntax/absyntax.o absyntax/visitor.o
    32 LIBS += stage1_2/stage1_2.o stage1_2/iec.y.o stage1_2/iec.flex.o
    32 LIBS += stage1_2/stage1_2.o stage1_2/iec.y.o stage1_2/iec.flex.o