From 8b59083eb13c0712e04d9a5b6d7bf4af5913c442 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 13 Jul 2006 01:30:55 +0200 Subject: removed unnecessary crap --- Makefile | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ccb9af76..74ef9edb 100644 --- a/Makefile +++ b/Makefile @@ -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} -- cgit v1.2.3