summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index da60a7ec..81209dbb 100644
--- a/Makefile
+++ b/Makefile
@@ -142,13 +142,13 @@ clean:
test-everything:
.PHONY: update-bison update-re2c
-update-bison: src/prebuilt/ast-parser-gen.c
-update-re2c: src/prebuilt/ast-lexer-gen.c
+update-bison: src/prebuilt/ast-parser-gen.cc
+update-re2c: src/prebuilt/ast-lexer-gen.cc
-src/prebuilt/ast-parser-gen.c: src/ast-parser.y
+src/prebuilt/ast-parser-gen.cc: src/ast-parser.y
bison -o $@ $< --defines=src/prebuilt/ast-parser-gen.h --report=state
-src/prebuilt/ast-lexer-gen.c: src/ast-lexer.c
+src/prebuilt/ast-lexer-gen.cc: src/ast-lexer.cc
re2c --no-generation-date -bc -o $@ $<
# defaults with simple names