diff options
author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 01:30:55 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-13 01:30:55 +0200 |
commit | 8b59083eb13c0712e04d9a5b6d7bf4af5913c442 (patch) | |
tree | c71ce38a84380cd619c6bf7c478dc68ae3c20f9a /Makefile | |
parent | da2bbd371c522d63d737d43a127601a3fdbcb9d8 (diff) |
removed unnecessary crap
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 10 insertions, 16 deletions
@@ -3,14 +3,12 @@ include config.mk -WMSRC = bar.c client.c draw.c event.c kb.c mouse.c util.c wm.c -WMOBJ = ${WMSRC:.c=.o} -MENSRC = menu.c draw.c util.c -MENOBJ = ${MENSRC:.c=.o} -MAN1 = gridwm.1 gridmenu.1 -BIN = gridwm gridmenu - -all: config gridwm gridmenu +SRC = client.c draw.c event.c kb.c mouse.c util.c wm.c +OBJ = ${SRC:.c=.o} +MAN1 = gridwm.1 +BIN = gridwm + +all: config gridwm @echo finished config: @@ -24,18 +22,14 @@ config: @echo CC $< @${CC} -c ${CFLAGS} $< -${WMOBJ}: wm.h draw.h config.h util.h - -gridmenu: ${MENOBJ} - @echo LD $@ - @${CC} -o $@ ${MENOBJ} ${LDFLAGS} +${OBJ}: wm.h -gridwm: ${WMOBJ} +gridwm: ${OBJ} @echo LD $@ - @${CC} -o $@ ${WMOBJ} ${LDFLAGS} + @${CC} -o $@ ${OBJ} ${LDFLAGS} clean: - rm -f gridwm gridmenu *.o core + rm -f gridwm *.o core dist: clean mkdir -p gridwm-${VERSION} |