summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0c5ebd5..499b707 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,11 @@ dist: $(BIN)
(cd release/${VERSION}; \
tar -czf ../../urmoms-${VERSION}.tar.gz .)
-${OBJ}: config.mk ${HDR}
+${OBJ}: config.h config.mk ${HDR}
+
+config.h:
+ @echo creating $@ from config.def.h
+ @cp config.def.h $@
urmoms: urmoms.o
${CC} -o $@ urmoms.o ${LDFLAGS}