summaryrefslogtreecommitdiff
path: root/makefile
blob: b1a1e0e5e6562026bdf1b1ae78f63bbc47f16a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC = cc
CFLAGS = -std=c89 -g -Wall
#CC = tcc
#CFLAGS = -Wall -g
LDFLAGS = -static
OUT = canup testing cantree/cantree
all: $(OUT)

cantree/cantree:
	cd cantree && go build

dump:
	dump.sh

.c:
	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
	strip $@
clean:
	rm -f $(OUT)