commit 707c92d9d9d5fb128f976c4d450eb854baa72325
parent 59adcd33c1e354bfddfdd4ae86c142a348957a39
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue, 9 Aug 2016 16:16:18 +0300
Makefile: add appropriate rule for creating config.h from default one
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -17,7 +17,11 @@ options:
@echo CC $<
@${CC} -c ${CFLAGS} $<
-${OBJ}: config.mk
+${OBJ}: config.h config.mk
+
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
soap: ${OBJ}
@echo CC -o $@
diff --git a/config.h b/config.def.h