diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..71bcbce --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CS=parser.c ast.c +CFLAGS=-Wall -Wpedantic -std=c99 + +badthing: $(CS) + $(CC) $(CFLAGS) -o badthing $(CS) + +parser.c: grammar.peg + minipeg -o parser.c grammar.peg + +clean: + rm badthing parser.c + +.PHONY: clean |