summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 71bcbce..012f152 100644
--- a/Makefile
+++ b/Makefile
@@ -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