From 7f95d74a1e162eb60d8f29f38c513f4d53ac7721 Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 22 Sep 2014 11:29:26 +0100 Subject: Generate config.h --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fc2bf5c..85629f6 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ include config.mk .POSIX: .SUFFIXES: .c .o -HDR = arg.h readpassphrase.h +HDR = arg.h config.h readpassphrase.h LIB = \ readpassphrase.o SRC = \ @@ -20,7 +20,11 @@ binlib: util.a bin: $(BIN) -$(OBJ): readpassphrase.h config.mk +$(OBJ): $(HDR) config.mk + +config.h: + @echo creating $@ from config.def.h + @cp config.def.h $@ .o: @echo LD $@ -- cgit v1.2.3