summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2a50d3336d9bf00a3d95e81c61a01529be0f2ed6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CS=        com.c dis.c ht.c lib.c mem.c read.c state.c        val.c vm.c
HS=chunk.h com.h dis.h ht.h lib.h mem.h read.h state.h util.h val.h vm.h
CFLAGS=$(EXTRA_CFLAGS) -O3 -g -lm -Wall -Wpedantic -Werror=implicit-function-declaration

bth: $(CS) $(HS) Makefile
	$(CC) $(CFLAGS) -o bth $(CS)

test: bth
	./run_tests.sh '*clos*'

clean:
	rm bth

.PHONY: clean test