summaryrefslogtreecommitdiff
path: root/i/marvin/src/parser/Makefile.defs
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin/src/parser/Makefile.defs')
-rw-r--r--i/marvin/src/parser/Makefile.defs14
1 files changed, 14 insertions, 0 deletions
diff --git a/i/marvin/src/parser/Makefile.defs b/i/marvin/src/parser/Makefile.defs
new file mode 100644
index 0000000..61b4b97
--- /dev/null
+++ b/i/marvin/src/parser/Makefile.defs
@@ -0,0 +1,14 @@
+PROGRAMS += test_parser
+
+parser_OBJECTS = yylexer.o yyparser.o parser.o
+
+test_parser_OBJECTS = $(parser_OBJECTS) test_parser.o
+
+EXTRA_CLEAN += yyparser.hh yyparser.cc yylexer.hh yylexer.cc
+
+yyparser.hh: yyparser.cc
+$(OBJ_DIR)/yylexer.o: yyparser.hh
+
+yylexer.hh: yylexer.cc
+$(OBJ_DIR)/yyparser.o: yylexer.hh
+$(OBJ_DIR)/parser.o: yylexer.hh