summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/makefile b/makefile
index e8e40e8..b1a1e0e 100644
--- a/makefile
+++ b/makefile
@@ -3,13 +3,17 @@ CFLAGS = -std=c89 -g -Wall
#CC = tcc
#CFLAGS = -Wall -g
LDFLAGS = -static
-OUT = canup testing canls
+OUT = canup testing cantree/cantree
all: $(OUT)
+cantree/cantree:
+ cd cantree && go build
+
+dump:
+ dump.sh
+
.c:
$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
strip $@
clean:
- rm $(OUT)
-dist: clean
- rm -rf dump/*
+ rm -f $(OUT)