summaryrefslogtreecommitdiff
path: root/library/Makefile.add
Side-by-side diff
Diffstat (limited to 'library/Makefile.add') (more/less context) (show whitespace changes)
-rw-r--r--library/Makefile.add4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/Makefile.add b/library/Makefile.add
new file mode 100644
index 0000000..b7b58f5
--- a/dev/null
+++ b/library/Makefile.add
@@ -0,0 +1,4 @@
+backend/vcc_yacc.cpp: backend/vcc.y
+ $(YACC) $(YACCFLAGS) -p vcc backend/vcc.y
+ -rm backend/vcc_yacc.cpp
+ mv y.tab.c backend/vcc_yacc.cpp