diff options
| author | Connor Lane Smith <cls@lubutu.com> | 2010-07-02 06:49:05 +0100 |
|---|---|---|
| committer | Connor Lane Smith <cls@lubutu.com> | 2010-07-02 06:49:05 +0100 |
| commit | 855a56631916bdff1438e11c232b88450f973648 (patch) | |
| tree | c7ed1e1ae2aac45b3e3980cfa36bc45b9580e39e /Makefile | |
| parent | 29e8faed6cf4b296382439651cf04596d276f080 (diff) | |
added dmenu.h, common.c
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | include config.mk | 4 | include config.mk |
| 5 | 5 | ||
| 6 | SRC = dinput.c dmenu.c | 6 | SRC = dinput.c dmenu.c common.c |
| 7 | OBJ = ${SRC:.c=.o} | 7 | OBJ = ${SRC:.c=.o} |
| 8 | 8 | ||
| 9 | all: options dinput dmenu | 9 | all: options dinput dmenu |
| @@ -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 common.o |
| 28 | @echo CC -o $@ | 28 | @echo CC -o $@ |
| 29 | @${CC} -o $@ $< ${LDFLAGS} | 29 | @${CC} -o $@ $+ ${LDFLAGS} |
| 30 | |||
| 31 | dmenu: dmenu.o common.o | ||
| 32 | @echo CC -o $@ | ||
| 33 | @${CC} -o $@ $+ ${LDFLAGS} | ||
| 30 | 34 | ||
| 31 | clean: | 35 | clean: |
| 32 | @echo cleaning | 36 | @echo cleaning |
