diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,6 +20,10 @@ options: | |||
20 | 20 | ||
21 | ${OBJ}: config.h config.mk | 21 | ${OBJ}: config.h config.mk |
22 | 22 | ||
23 | config.h: | ||
24 | @echo creating $@ from config.def.h | ||
25 | @cp config.def.h $@ | ||
26 | |||
23 | dmenu: ${OBJ} | 27 | dmenu: ${OBJ} |
24 | @echo CC -o $@ | 28 | @echo CC -o $@ |
25 | @${CC} -o $@ ${OBJ} ${LDFLAGS} | 29 | @${CC} -o $@ ${OBJ} ${LDFLAGS} |
@@ -31,7 +35,7 @@ clean: | |||
31 | dist: clean | 35 | dist: clean |
32 | @echo creating dist tarball | 36 | @echo creating dist tarball |
33 | @mkdir -p dmenu-${VERSION} | 37 | @mkdir -p dmenu-${VERSION} |
34 | @cp -R LICENSE Makefile README config.mk dmenu.1 config.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION} | 38 | @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION} |
35 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} | 39 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} |
36 | @gzip dmenu-${VERSION}.tar | 40 | @gzip dmenu-${VERSION}.tar |
37 | @rm -rf dmenu-${VERSION} | 41 | @rm -rf dmenu-${VERSION} |