diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,7 @@ include config.mk | |||
6 | SRC = dinput.c dmenu.c draw.c | 6 | SRC = dinput.c dmenu.c draw.c |
7 | OBJ = ${SRC:.c=.o} | 7 | OBJ = ${SRC:.c=.o} |
8 | 8 | ||
9 | all: options dinput dmenu | 9 | all: options draw.o dinput dmenu |
10 | 10 | ||
11 | options: | 11 | options: |
12 | @echo dmenu build options: | 12 | @echo dmenu build options: |
@@ -18,7 +18,7 @@ options: | |||
18 | @echo CC $< | 18 | @echo CC $< |
19 | @${CC} -c ${CFLAGS} $< | 19 | @${CC} -c ${CFLAGS} $< |
20 | 20 | ||
21 | ${OBJ}: config.h config.mk draw.c | 21 | ${OBJ}: config.h config.mk draw.h |
22 | 22 | ||
23 | config.h: | 23 | config.h: |
24 | @echo creating $@ from config.def.h | 24 | @echo creating $@ from config.def.h |
@@ -26,7 +26,7 @@ config.h: | |||
26 | 26 | ||
27 | .o: | 27 | .o: |
28 | @echo CC -o $@ | 28 | @echo CC -o $@ |
29 | @${CC} -o $@ $< ${LDFLAGS} | 29 | @${CC} -o $@ $< draw.o ${LDFLAGS} |
30 | 30 | ||
31 | clean: | 31 | clean: |
32 | @echo cleaning | 32 | @echo cleaning |