dwm-meillo
diff Makefile @ 32:082c75b937b5
removed unnecessary crap
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 01:30:55 +0200 |
parents | f96fb3fd8203 |
children | cd30cce52b78 |
line diff
1.1 --- a/Makefile Thu Jul 13 01:04:38 2006 +0200 1.2 +++ b/Makefile Thu Jul 13 01:30:55 2006 +0200 1.3 @@ -3,14 +3,12 @@ 1.4 1.5 include config.mk 1.6 1.7 -WMSRC = bar.c client.c draw.c event.c kb.c mouse.c util.c wm.c 1.8 -WMOBJ = ${WMSRC:.c=.o} 1.9 -MENSRC = menu.c draw.c util.c 1.10 -MENOBJ = ${MENSRC:.c=.o} 1.11 -MAN1 = gridwm.1 gridmenu.1 1.12 -BIN = gridwm gridmenu 1.13 +SRC = client.c draw.c event.c kb.c mouse.c util.c wm.c 1.14 +OBJ = ${SRC:.c=.o} 1.15 +MAN1 = gridwm.1 1.16 +BIN = gridwm 1.17 1.18 -all: config gridwm gridmenu 1.19 +all: config gridwm 1.20 @echo finished 1.21 1.22 config: 1.23 @@ -24,18 +22,14 @@ 1.24 @echo CC $< 1.25 @${CC} -c ${CFLAGS} $< 1.26 1.27 -${WMOBJ}: wm.h draw.h config.h util.h 1.28 +${OBJ}: wm.h 1.29 1.30 -gridmenu: ${MENOBJ} 1.31 +gridwm: ${OBJ} 1.32 @echo LD $@ 1.33 - @${CC} -o $@ ${MENOBJ} ${LDFLAGS} 1.34 - 1.35 -gridwm: ${WMOBJ} 1.36 - @echo LD $@ 1.37 - @${CC} -o $@ ${WMOBJ} ${LDFLAGS} 1.38 + @${CC} -o $@ ${OBJ} ${LDFLAGS} 1.39 1.40 clean: 1.41 - rm -f gridwm gridmenu *.o core 1.42 + rm -f gridwm *.o core 1.43 1.44 dist: clean 1.45 mkdir -p gridwm-${VERSION}