aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-21 11:15:27 +0100
committersin <sin@2f30.org>2014-10-21 11:15:27 +0100
commit43fa667cd62e7736fc99afb2dd56b81b1acc9693 (patch)
tree1149daf86e4d2af5d4c5ac2f2c6d1f7fa91a8dd9 /Makefile
parenta9b5370ac67c586771472f4d2763a971cc519c5c (diff)
downloadnoice-43fa667cd62e7736fc99afb2dd56b81b1acc9693.tar.gz
Add config.def.h
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
Un proyecto texto-plano.xyz