diff options
author | Connor Lane Smith <cls@lubutu.com> | 2010-06-23 14:29:32 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2010-06-23 14:29:32 +0100 |
commit | 8f7b62e2b6d0c171233a3eb44e9a9ba6b1c9d1f6 (patch) | |
tree | 9fe6761192e2353b7cf975ab226af75f31592e35 | |
parent | 2ec16d9cb2661c834e346b4cdef29449ddc2f29c (diff) |
fixed makefile
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 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 draw.o dinput dmenu | 9 | all: options dinput dmenu |
10 | 10 | ||
11 | options: | 11 | options: |
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: | 27 | dinput: dinput.o draw.o |
28 | @echo CC -o $@ | 28 | @echo CC -o $@ |
29 | @${CC} -o $@ $< draw.o ${LDFLAGS} | 29 | @${CC} -o $@ $+ ${LDFLAGS} |
30 | |||
31 | dmenu: dmenu.o draw.o | ||
32 | @echo CC -o $@ | ||
33 | @${CC} -o $@ $+ ${LDFLAGS} | ||
30 | 34 | ||
31 | clean: | 35 | clean: |
32 | @echo cleaning | 36 | @echo cleaning |