From 55ae285ef587942dc34c5f95b7f97037deb791a2 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 9 Jul 2018 10:19:59 -0700 Subject: getting there --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3