blob: e9c44a4004e5566ec35ac3f9073f2130c11577df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CS=parser.c ast.c run.c read.c
HS=parser.h ast.h run.h read.h
CFLAGS=-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
|