aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-11-11 23:56:39 +0000
committerConnor Lane Smith <cls@lubutu.com>2010-11-11 23:56:39 +0000
commita0a99d10e1a019f74a8b2af4d5f8b47348e08a75 (patch)
tree78f9f8c219dd0bcce21096f63fbbd7962f111dd8 /Makefile
parent7cf66b443ad1cc9a698db477401b843f3c14184b (diff)
removed libdc dependence
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c183779..6775a10 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 dmenu_path config.mk
7 7
8options: 8options:
9 @echo dmenu build options: 9 @echo dmenu build options:
@@ -11,16 +11,20 @@ options:
11 @echo "LDFLAGS = ${LDFLAGS}" 11 @echo "LDFLAGS = ${LDFLAGS}"
12 @echo "CC = ${CC}" 12 @echo "CC = ${CC}"
13 13
14dmenu: dmenu.c config.mk 14dmenu: dmenu.o draw.o
15dmenu_path: dmenu_path.c 15dmenu_path: dmenu_path.o
16
17.c.o:
18 @echo CC -c $<
19 @${CC} -c $< ${CFLAGS}
16 20
17dmenu dmenu_path: 21dmenu dmenu_path:
18 @echo CC -o $@ 22 @echo CC -o $@
19 @${CC} -o $@ $< ${CFLAGS} ${LDFLAGS} 23 @${CC} -o $@ $+ ${LDFLAGS}
20 24
21clean: 25clean:
22 @echo cleaning 26 @echo cleaning
23 @rm -f dmenu dmenu_path dmenu-${VERSION}.tar.gz 27 @rm -f dmenu dmenu.o draw.o dmenu_path dmenu_path.o dmenu-${VERSION}.tar.gz
24 28
25dist: clean 29dist: clean
26 @echo creating dist tarball 30 @echo creating dist tarball