diff options
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} |