aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 19b52d3..29ca2b6 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,14 @@ BIN = noice
all: $(BIN)
-$(BIN): $(OBJ)
+$(BIN): config.h $(OBJ)
$(CC) -o $@ $(OBJ) $(LDLIBS)
-noice.o: noice.c queue.h util.h
+config.h:
+ @echo copying config.def.h to $@
+ @cp config.def.h $@
+
+noice.o: noice.c util.h
$(CC) -c noice.c
strlcpy.o: strlcpy.c util.h