blob: 1e6f6efd31b8dc578e51f8141db4db607378a001 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
|