1 ########################################################################
3 # You may want to include some subdirectories in this project.
4 # If so, define the subdirectory targets and uncomment this section.
9 ################################################
10 # Configuration. You might want to modify any of these
11 # configuration variables.
16 .DEFAULT: $(MAIN)$(EXE)
18 CGeneratedFiles(lex.yy.cpp lex.yy.h cmddata.cpp mngparser.tab.cpp mngparser.tab.hpp catalogue.tab.hpp catalogue.lex.h lex.mng.h)
19 CProgram($(MAIN), $(OPENC2E))
22 lex.mng.cpp lex.mng.h: mng.l
23 flex -+ --prefix=mng -d -o lex.mng.cpp --header-file=lex.mng.h mng.l
25 mngparser.tab.cpp mngparser.tab.hpp: mngparser.ypp lex.mng.h
26 bison -d --name-prefix=mng mngparser.ypp
28 cmddata.cpp: commandinfo.yml writecmds.pl
29 perl writecmds.pl commandinfo.yml > cmddata.cpp
31 commandinfo.yml: $(glob caosVM_*.cpp) parsedocs.pl
32 perl parsedocs.pl $(glob caosVM_*.cpp) > commandinfo.yml
34 lex.yy.cpp lex.yy.h: caos.l
35 flex -+ -d -o lex.yy.cpp --header-file=lex.yy.h caos.l