From d28f04f44efffd61564951456c061ba14e1921eb Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 10 Jul 2023 21:34:00 +0100 Subject: new grammar using packcc --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3