diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2014-12-22 11:16:26 +0100 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2014-12-22 11:16:26 +0100 |
commit | 44ce161c139f74cac80dd77aafdfadb49a85af2a (patch) | |
tree | 93c1b5689ae012a48a3ebfcb7ea70fd683a84161 /Makefile | |
parent | 4339b507af01421e2deab63ca9ac3c5bdae5f4cc (diff) |
applied sin's patch and prepared new release
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -18,7 +18,11 @@ options: | |||
18 | @echo CC $< | 18 | @echo CC $< |
19 | @${CC} -c ${CFLAGS} $< | 19 | @${CC} -c ${CFLAGS} $< |
20 | 20 | ||
21 | ${OBJ}: config.mk | 21 | ${OBJ}: config.h config.mk |
22 | |||
23 | config.h: | ||
24 | @echo creating $@ from config.def.h | ||
25 | @cp config.def.h $@ | ||
22 | 26 | ||
23 | slock: ${OBJ} | 27 | slock: ${OBJ} |
24 | @echo CC -o $@ | 28 | @echo CC -o $@ |
@@ -31,7 +35,7 @@ clean: | |||
31 | dist: clean | 35 | dist: clean |
32 | @echo creating dist tarball | 36 | @echo creating dist tarball |
33 | @mkdir -p slock-${VERSION} | 37 | @mkdir -p slock-${VERSION} |
34 | @cp -R LICENSE Makefile README config.mk ${SRC} slock-${VERSION} | 38 | @cp -R LICENSE Makefile README config.def.h config.mk ${SRC} slock-${VERSION} |
35 | @tar -cf slock-${VERSION}.tar slock-${VERSION} | 39 | @tar -cf slock-${VERSION}.tar slock-${VERSION} |
36 | @gzip slock-${VERSION}.tar | 40 | @gzip slock-${VERSION}.tar |
37 | @rm -rf slock-${VERSION} | 41 | @rm -rf slock-${VERSION} |