diff options
author | Connor Lane Smith <cls@lubutu.com> | 2011-05-14 20:43:11 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2011-05-14 20:43:11 +0100 |
commit | 15505bd711d77fbd88dbdcbc464c78d863e03250 (patch) | |
tree | 41e1d4feb5d75cc7caa750a7c5e498295e1f2344 /Makefile | |
parent | 86468aafe52a94ce6ba1a3601a587c65724a61aa (diff) |
fast dmenu_path script
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | include config.mk | 4 | include config.mk |
5 | 5 | ||
6 | all: options dmenu dmenu_path | 6 | all: options dmenu |
7 | 7 | ||
8 | options: | 8 | options: |
9 | @echo dmenu build options: | 9 | @echo dmenu build options: |
@@ -15,22 +15,18 @@ dmenu: dmenu.o draw.o | |||
15 | @echo CC -o $@ | 15 | @echo CC -o $@ |
16 | @${CC} -o $@ dmenu.o draw.o ${LDFLAGS} | 16 | @${CC} -o $@ dmenu.o draw.o ${LDFLAGS} |
17 | 17 | ||
18 | dmenu_path: dmenu_path.o | ||
19 | @echo CC -o $@ | ||
20 | @${CC} -o $@ dmenu_path.o ${LDFLAGS} | ||
21 | |||
22 | .c.o: config.mk | 18 | .c.o: config.mk |
23 | @echo CC -c $< | 19 | @echo CC -c $< |
24 | @${CC} -c $< ${CFLAGS} | 20 | @${CC} -c $< ${CFLAGS} |
25 | 21 | ||
26 | clean: | 22 | clean: |
27 | @echo cleaning | 23 | @echo cleaning |
28 | @rm -f dmenu dmenu.o draw.o dmenu_path dmenu_path.o dmenu-${VERSION}.tar.gz | 24 | @rm -f dmenu dmenu.o draw.o dmenu-${VERSION}.tar.gz |
29 | 25 | ||
30 | dist: clean | 26 | dist: clean |
31 | @echo creating dist tarball | 27 | @echo creating dist tarball |
32 | @mkdir -p dmenu-${VERSION} | 28 | @mkdir -p dmenu-${VERSION} |
33 | @cp LICENSE Makefile README config.mk dmenu.1 dmenu.c draw.c draw.h dmenu_path.c dmenu_run dmenu-${VERSION} | 29 | @cp LICENSE Makefile README config.mk dmenu.1 dmenu.c draw.c draw.h dmenu_path dmenu_run dmenu-${VERSION} |
34 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} | 30 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} |
35 | @gzip dmenu-${VERSION}.tar | 31 | @gzip dmenu-${VERSION}.tar |
36 | @rm -rf dmenu-${VERSION} | 32 | @rm -rf dmenu-${VERSION} |