diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-12-20 12:32:41 +0200 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-12-20 12:32:41 +0200 |
commit | 0f5ce98342a7742c4e3af0dd33b5b642419d5286 (patch) | |
tree | f19f2f5aa9bca9f002827725c18541f709328dfa /gen | |
parent | 8ecf1531d93acda9f904f11efb2a34dfec169153 (diff) | |
download | fwd-0f5ce98342a7742c4e3af0dd33b5b642419d5286.tar.gz fwd-0f5ce98342a7742c4e3af0dd33b5b642419d5286.zip |
fix generated files in .gitignore
Diffstat (limited to 'gen')
-rw-r--r-- | gen/source.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gen/source.mk b/gen/source.mk new file mode 100644 index 0000000..55fe692 --- /dev/null +++ b/gen/source.mk @@ -0,0 +1,9 @@ +gen/gen_parser.c: src/parser.y gen/gen_lexer.inc + bison -Wcounterexamples -o gen/gen_parser.c src/parser.y + +gen/gen_lexer.inc: src/lexer.l + flex -o gen/gen_lexer.inc src/lexer.l + +build/gen/parser.o: gen/gen_parser.c + mkdir -p build/gen + $(COMPILE_FWD) $(SKIP_ANALYZER) -c gen/gen_parser.c -o build/gen/parser.o |