summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8d9c88235c99daad9170d569960bbba5a7b9353d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CS=ast.c com.c dis.c mem.c prs.c read.c val.c vm.c
HS=ast.h       dis.h mem.h prs.h read.h val.h vm.h
CFLAGS=-O3 -Wall -Wpedantic -Werror=implicit-function-declaration

bþ: $(CS) $(HS)
	$(CC) $(CFLAGS) -o bþ $(CS)

prs.c: g.peg
	packcc -o prs g.peg

clean:
	rm bþ prs.c prs.h

.PHONY: clean