CS=ast.c com.c dis.c parser.c read.c val.c vm.c HS=ast.h dis.h parser.h read.h val.h vm.h CFLAGS=-O3 -Wall -Wpedantic -Werror=implicit-function-declaration badthing: $(CS) $(HS) $(CC) $(CFLAGS) -o badthing $(CS) parser.c: grammar.peg packcc -o parser grammar.peg clean: rm badthing parser.c .PHONY: clean