diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-09-16 20:14:09 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-09-16 20:14:09 +0200 |
commit | 06ae8944344cd6f7d0aa007b7b036e77cb87fdf1 (patch) | |
tree | f8303fafda2c9fcb20b87a11e28454cd10668455 /Makefile | |
parent | b97783b07feae30f9df12c1a720d17a2dc877018 (diff) |
micromizing dmenu step 1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | include config.mk | 4 | include config.mk |
5 | 5 | ||
6 | SRC = draw.c main.c util.c | 6 | SRC = dmenu.c |
7 | OBJ = ${SRC:.c=.o} | 7 | OBJ = ${SRC:.c=.o} |
8 | 8 | ||
9 | all: options dmenu | 9 | all: options dmenu |
@@ -18,7 +18,7 @@ options: | |||
18 | @echo CC $< | 18 | @echo CC $< |
19 | @${CC} -c ${CFLAGS} $< | 19 | @${CC} -c ${CFLAGS} $< |
20 | 20 | ||
21 | ${OBJ}: dmenu.h config.mk | 21 | ${OBJ}: config.h config.mk |
22 | 22 | ||
23 | dmenu: ${OBJ} | 23 | dmenu: ${OBJ} |
24 | @echo CC -o $@ | 24 | @echo CC -o $@ |
@@ -31,7 +31,7 @@ clean: | |||
31 | dist: clean | 31 | dist: clean |
32 | @echo creating dist tarball | 32 | @echo creating dist tarball |
33 | @mkdir -p dmenu-${VERSION} | 33 | @mkdir -p dmenu-${VERSION} |
34 | @cp -R LICENSE Makefile README config.mk dmenu.1 dmenu.h dmenu_path ${SRC} dmenu-${VERSION} | 34 | @cp -R LICENSE Makefile README config.mk dmenu.1 config.h dmenu_path ${SRC} dmenu-${VERSION} |
35 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} | 35 | @tar -cf dmenu-${VERSION}.tar dmenu-${VERSION} |
36 | @gzip dmenu-${VERSION}.tar | 36 | @gzip dmenu-${VERSION}.tar |
37 | @rm -rf dmenu-${VERSION} | 37 | @rm -rf dmenu-${VERSION} |