From 43fa667cd62e7736fc99afb2dd56b81b1acc9693 Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 21 Oct 2014 11:15:27 +0100 Subject: Add config.def.h --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2