aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-10 18:35:39 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-10 18:35:39 +0200
commit8a34fa50f75f4d6d8af234ac0c4f6d40b988d700 (patch)
tree0c0a4b7ea57f506c524bb06955f12525ab4f2bb7 /Makefile
parentdbf7e03996032a6def3b8e97468b78d6da9e8c88 (diff)
downloaddwm-8a34fa50f75f4d6d8af234ac0c4f6d40b988d700.tar.gz
added new stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 6d853bd..1eb6c50 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}