aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2f1cada..da5344b 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ include config.mk
6SRC = dinput.c dmenu.c draw.c 6SRC = dinput.c dmenu.c draw.c
7OBJ = ${SRC:.c=.o} 7OBJ = ${SRC:.c=.o}
8 8
9all: options draw.o dinput dmenu 9all: options dinput dmenu
10 10
11options: 11options:
12 @echo dmenu build options: 12 @echo dmenu build options:
@@ -24,9 +24,13 @@ config.h:
24 @echo creating $@ from config.def.h 24 @echo creating $@ from config.def.h
25 @cp config.def.h $@ 25 @cp config.def.h $@
26 26
27.o: 27dinput: dinput.o draw.o
28 @echo CC -o $@ 28 @echo CC -o $@
29 @${CC} -o $@ $< draw.o ${LDFLAGS} 29 @${CC} -o $@ $+ ${LDFLAGS}
30
31dmenu: dmenu.o draw.o
32 @echo CC -o $@
33 @${CC} -o $@ $+ ${LDFLAGS}
30 34
31clean: 35clean:
32 @echo cleaning 36 @echo cleaning