aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFRIGN <[email protected]>2015-12-14 12:49:23 +0100
committerFRIGN <[email protected]>2015-12-14 12:49:58 +0100
commitc3014aaaba1d98b8e54537cef6246add1ab62094 (patch)
treeaf4a0f7ad9fa2f925a6f84c6a117cbd673c62cc6 /Makefile
parentf33bca44bdd4f6758b9045c02ddbab9adc7b97c0 (diff)
downloadstagit-c3014aaaba1d98b8e54537cef6246add1ab62094.tar.gz
stagit-c3014aaaba1d98b8e54537cef6246add1ab62094.zip
Add config.def.h and make summary length configurable
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}