aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-10 19:46:24 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-10 19:46:24 +0200
commit39677ec76616fe4165ef92afb14db2bef2488e30 (patch)
tree7ea1c021042b7d7da53660aa127af37847273a91 /Makefile
parent8a34fa50f75f4d6d8af234ac0c4f6d40b988d700 (diff)
downloaddwm-39677ec76616fe4165ef92afb14db2bef2488e30.tar.gz
several new changes, made gridmenu working
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1eb6c50..152f276 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,12 @@ include config.mk
WMSRC = wm.c draw.c util.c
WMOBJ = ${WMSRC:.c=.o}
+MENSRC = gridmenu.c draw.c util.c
+MENOBJ = ${MENSRC:.c=.o}
MAN = gridwm.1
BIN = gridwm gridmenu
-all: config gridwm
+all: config gridwm gridmenu
@echo finished
config:
@@ -22,18 +24,22 @@ config:
@echo CC $<
@${CC} -c ${CFLAGS} $<
-${WMOBJ}: wm.h draw.h config.h
+${WMOBJ}: wm.h draw.h config.h util.h
+
+gridmenu: ${MENOBJ}
+ @echo LD $@
+ @${CC} -o $@ ${MENOBJ} ${LDFLAGS}
gridwm: ${WMOBJ}
@echo LD $@
@${CC} -o $@ ${WMOBJ} ${LDFLAGS}
clean:
- rm -f gridwm *.o
+ rm -f gridwm gridmenu *.o core
dist: clean
mkdir -p gridwm-${VERSION}
- cp -R Makefile README LICENSE config.mk ${WMSRC} ${MAN} gridwm-${VERSION}
+ cp -R Makefile README LICENSE config.mk *.h *.c ${MAN} gridwm-${VERSION}
tar -cf gridwm-${VERSION}.tar gridwm-${VERSION}
gzip gridwm-${VERSION}.tar
rm -rf gridwm-${VERSION}
remember that computers suck.