summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorkaa <kaa@disroot.org>2023-11-25 12:40:23 -0800
committerkaa <kaa@disroot.org>2023-11-25 12:40:23 -0800
commit06b553ab3f6355e643049dad0ccb570a0bc0d613 (patch)
treeef758a08c2dea66085f11c333984f5e96d4ab444 /makefile
parent3df21ef899aafd2461570687ef3b9b1c9f9a555e (diff)
WIP Directory traversal using go.HEADmaster
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)