diff options
author | Connor Lane Smith <cls@lubutu.com> | 2010-11-11 23:56:39 +0000 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2010-11-11 23:56:39 +0000 |
commit | a0a99d10e1a019f74a8b2af4d5f8b47348e08a75 (patch) | |
tree | 78f9f8c219dd0bcce21096f63fbbd7962f111dd8 /Makefile | |
parent | 7cf66b443ad1cc9a698db477401b843f3c14184b (diff) |
removed libdc dependence
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -3,7 +3,7 @@ include config.mk -all: options dmenu dmenu_path +all: options dmenu dmenu_path config.mk options: @echo dmenu build options: @@ -11,16 +11,20 @@ options: @echo "LDFLAGS = ${LDFLAGS}" @echo "CC = ${CC}" -dmenu: dmenu.c config.mk -dmenu_path: dmenu_path.c +dmenu: dmenu.o draw.o +dmenu_path: dmenu_path.o + +.c.o: + @echo CC -c $< + @${CC} -c $< ${CFLAGS} dmenu dmenu_path: @echo CC -o $@ - @${CC} -o $@ $< ${CFLAGS} ${LDFLAGS} + @${CC} -o $@ $+ ${LDFLAGS} clean: @echo cleaning - @rm -f dmenu dmenu_path dmenu-${VERSION}.tar.gz + @rm -f dmenu dmenu.o draw.o dmenu_path dmenu_path.o dmenu-${VERSION}.tar.gz dist: clean @echo creating dist tarball |