aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-06-23 13:29:15 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-06-23 13:29:15 +0100
commit595e7976601fc77acf12015d3f5f6843e2cdd706 (patch)
tree1442293d945d760e548ed4a335a89e2a1e3bddce /Makefile
parentbba30e26863c75e66678f9d028d394883d86150a (diff)
downloaddmenu-595e7976601fc77acf12015d3f5f6843e2cdd706.tar.gz
dmenu-595e7976601fc77acf12015d3f5f6843e2cdd706.tar.bz2
dmenu-595e7976601fc77acf12015d3f5f6843e2cdd706.zip
added draw.h
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d5884da..2f1cada 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ include config.mk
SRC = dinput.c dmenu.c draw.c
OBJ = ${SRC:.c=.o}
-all: options dinput dmenu
+all: options draw.o dinput dmenu
options:
@echo dmenu build options:
@@ -18,7 +18,7 @@ options:
@echo CC $<
@${CC} -c ${CFLAGS} $<
-${OBJ}: config.h config.mk draw.c
+${OBJ}: config.h config.mk draw.h
config.h:
@echo creating $@ from config.def.h
@@ -26,7 +26,7 @@ config.h:
.o:
@echo CC -o $@
- @${CC} -o $@ $< ${LDFLAGS}
+ @${CC} -o $@ $< draw.o ${LDFLAGS}
clean:
@echo cleaning