summaryrefslogtreecommitdiff
path: root/Makefile
blob: 71bcbce144b2e16ab01151f8c73799235c63d0c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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