aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2014-12-22 11:16:26 +0100
committerAnselm R Garbe <garbeam@gmail.com>2014-12-22 11:16:26 +0100
commit44ce161c139f74cac80dd77aafdfadb49a85af2a (patch)
tree93c1b5689ae012a48a3ebfcb7ea70fd683a84161 /Makefile
parent4339b507af01421e2deab63ca9ac3c5bdae5f4cc (diff)
applied sin's patch and prepared new release
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2bea555..1017ac2 100644
--- a/Makefile
+++ b/Makefile
@@ -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
23config.h:
24 @echo creating $@ from config.def.h
25 @cp config.def.h $@
22 26
23slock: ${OBJ} 27slock: ${OBJ}
24 @echo CC -o $@ 28 @echo CC -o $@
@@ -31,7 +35,7 @@ clean:
31dist: clean 35dist: 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}