CS=parser.c ast.c HS=ast.h parser.h CFLAGS=-Wall -Wpedantic badthing: $(CS) $(HS) $(CC) $(CFLAGS) -o badthing $(CS) parser.c: grammar.peg packcc -o parser grammar.peg clean: rm badthing parser.c .PHONY: clean