diff options
author | ubq323 <ubq323@ubq323.website> | 2023-07-10 21:34:00 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2023-07-10 21:34:03 +0100 |
commit | d28f04f44efffd61564951456c061ba14e1921eb (patch) | |
tree | e7bb4a68430ea4293e767e3ceef0ca5b8f1f2342 /Makefile | |
parent | eeea75fa7820f1a7ee4958b65667d0078e01f3bd (diff) |
new grammar using packcc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,11 +1,12 @@ CS=parser.c ast.c +HS=ast.h parser.h CFLAGS=-Wall -Wpedantic -std=c99 -badthing: $(CS) +badthing: $(CS) $(HS) $(CC) $(CFLAGS) -o badthing $(CS) parser.c: grammar.peg - minipeg -o parser.c grammar.peg + packcc -o parser grammar.peg clean: rm badthing parser.c |