From eeea75fa7820f1a7ee4958b65667d0078e01f3bd Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 10 Jul 2023 12:25:53 +0100 Subject: initial --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3