summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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