From 8a34fa50f75f4d6d8af234ac0c4f6d40b988d700 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 10 Jul 2006 18:35:39 +0200 Subject: added new stuff --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6d853bd6..1eb6c50a 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ include config.mk -SRC = wm.c -OBJ = ${SRC:.c=.o} +WMSRC = wm.c draw.c util.c +WMOBJ = ${WMSRC:.c=.o} MAN = gridwm.1 BIN = gridwm gridmenu @@ -22,18 +22,18 @@ config: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: wm.h +${WMOBJ}: wm.h draw.h config.h -gridwm: ${OBJ} +gridwm: ${WMOBJ} @echo LD $@ - @${CC} -o $@ ${OBJ} ${X11LDFLAGS} + @${CC} -o $@ ${WMOBJ} ${LDFLAGS} clean: rm -f gridwm *.o dist: clean mkdir -p gridwm-${VERSION} - cp -R Makefile README LICENSE config.mk ${SRC} ${MAN} gridwm-${VERSION} + cp -R Makefile README LICENSE config.mk ${WMSRC} ${MAN} gridwm-${VERSION} tar -cf gridwm-${VERSION}.tar gridwm-${VERSION} gzip gridwm-${VERSION}.tar rm -rf gridwm-${VERSION} -- cgit v1.2.3