dwm-meillo
diff Makefile @ 2:a79188fe4a40
added new stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Mon, 10 Jul 2006 18:35:39 +0200 |
parents | f10194d4b76d |
children | e969f3575b7a |
line diff
1.1 --- a/Makefile Mon Jul 10 16:49:43 2006 +0200 1.2 +++ b/Makefile Mon Jul 10 18:35:39 2006 +0200 1.3 @@ -3,8 +3,8 @@ 1.4 1.5 include config.mk 1.6 1.7 -SRC = wm.c 1.8 -OBJ = ${SRC:.c=.o} 1.9 +WMSRC = wm.c draw.c util.c 1.10 +WMOBJ = ${WMSRC:.c=.o} 1.11 MAN = gridwm.1 1.12 BIN = gridwm gridmenu 1.13 1.14 @@ -22,18 +22,18 @@ 1.15 @echo CC $< 1.16 @${CC} -c ${CFLAGS} $< 1.17 1.18 -${OBJ}: wm.h 1.19 +${WMOBJ}: wm.h draw.h config.h 1.20 1.21 -gridwm: ${OBJ} 1.22 +gridwm: ${WMOBJ} 1.23 @echo LD $@ 1.24 - @${CC} -o $@ ${OBJ} ${X11LDFLAGS} 1.25 + @${CC} -o $@ ${WMOBJ} ${LDFLAGS} 1.26 1.27 clean: 1.28 rm -f gridwm *.o 1.29 1.30 dist: clean 1.31 mkdir -p gridwm-${VERSION} 1.32 - cp -R Makefile README LICENSE config.mk ${SRC} ${MAN} gridwm-${VERSION} 1.33 + cp -R Makefile README LICENSE config.mk ${WMSRC} ${MAN} gridwm-${VERSION} 1.34 tar -cf gridwm-${VERSION}.tar gridwm-${VERSION} 1.35 gzip gridwm-${VERSION}.tar 1.36 rm -rf gridwm-${VERSION}