diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -12,15 +12,16 @@ options: | |||
12 | @echo "CC = ${CC}" | 12 | @echo "CC = ${CC}" |
13 | 13 | ||
14 | dmenu: dmenu.o draw.o | 14 | dmenu: dmenu.o draw.o |
15 | dmenu_path: dmenu_path.o | 15 | @echo CC -o $@ |
16 | @${CC} -o $@ dmenu.o draw.o ${LDFLAGS} | ||
16 | 17 | ||
17 | .c.o: config.mk | 18 | .c.o: config.mk |
18 | @echo CC -c $< | 19 | @echo CC -c $< |
19 | @${CC} -c $< ${CFLAGS} | 20 | @${CC} -c $< ${CFLAGS} |
20 | 21 | ||
21 | dmenu dmenu_path: | 22 | .o: |
22 | @echo CC -o $@ | 23 | @echo CC -o $@ |
23 | @${CC} -o $@ $+ ${LDFLAGS} | 24 | @${CC} -o $@ $< ${LDFLAGS} |
24 | 25 | ||
25 | clean: | 26 | clean: |
26 | @echo cleaning | 27 | @echo cleaning |