diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -18,7 +18,7 @@ options: | |||
18 | @echo CC $< | 18 | @echo CC $< |
19 | @${CC} -c ${CFLAGS} $< | 19 | @${CC} -c ${CFLAGS} $< |
20 | 20 | ||
21 | ${OBJ}: config.h config.mk draw/libdraw.a | 21 | ${OBJ}: config.h config.mk |
22 | 22 | ||
23 | config.h: | 23 | config.h: |
24 | @echo creating $@ from config.def.h | 24 | @echo creating $@ from config.def.h |
@@ -28,18 +28,14 @@ config.h: | |||
28 | @echo CC -o $@ | 28 | @echo CC -o $@ |
29 | @${CC} -o $@ $< ${LDFLAGS} | 29 | @${CC} -o $@ $< ${LDFLAGS} |
30 | 30 | ||
31 | draw/libdraw.a: | ||
32 | @cd draw && make | ||
33 | |||
34 | clean: | 31 | clean: |
35 | @echo cleaning | 32 | @echo cleaning |
36 | @rm -f dinput dmenu ${OBJ} dmenu-${VERSION}.tar.gz | 33 | @rm -f dinput dmenu ${OBJ} dmenu-${VERSION}.tar.gz |
37 | @cd draw && make clean | ||
38 | 34 | ||
39 | dist: clean | 35 | dist: clean |
40 | @echo creating dist tarball | 36 | @echo creating dist tarball |
41 | @mkdir -p dmenu-${VERSION} | 37 | @mkdir -p dmenu-${VERSION} |
42 | @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run draw ${SRC} dmenu-${VERSION} | 38 | @cp -R LICENSE Makefile README config.mk dmenu.1 config.def.h dmenu_path dmenu_run ${SRC} dmenu-${VERSION} |
43 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} | 39 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} |
44 | @gzip dmenu-${VERSION}.tar | 40 | @gzip dmenu-${VERSION}.tar |
45 | @rm -rf dmenu-${VERSION} | 41 | @rm -rf dmenu-${VERSION} |