aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-05-14 20:43:11 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-05-14 20:43:11 +0100
commit15505bd711d77fbd88dbdcbc464c78d863e03250 (patch)
tree41e1d4feb5d75cc7caa750a7c5e498295e1f2344 /Makefile
parent86468aafe52a94ce6ba1a3601a587c65724a61aa (diff)
fast dmenu_path script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index dd744e1..60e53d1 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
3 3
4include config.mk 4include config.mk
5 5
6all: options dmenu dmenu_path 6all: options dmenu
7 7
8options: 8options:
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
18dmenu_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
26clean: 22clean:
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
30dist: clean 26dist: 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}