summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWilliam Casarin <jb55@jb55.com>2018-07-09 10:19:59 -0700
committerWilliam Casarin <jb55@jb55.com>2018-07-09 10:19:59 -0700
commit55ae285ef587942dc34c5f95b7f97037deb791a2 (patch)
treeb9d1ce96f5ca0b43c207e88360cd6dff20b836d6 /Makefile
parentd1dea11d1091b4eacefb8be73a0740f87444fe29 (diff)
getting there
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f691de1..b5bf5e0 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,11 @@ include $(OBJS:.o=.d)
%.d: %.c
$(CC) -MM $(CFLAGS) $< > $@
+cmdtree.c: config.h
+
+config.h: config.def.h
+ cp config.def.h $@
+
all: cmdtree
$(BIN): $(OBJS)
@@ -25,4 +30,7 @@ $(BIN): $(OBJS)
clean: fake
rm -f $(OBJS) $(BIN)
+TAGS: fake
+ etags *.c
+
.PHONY: fake