aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:30:55 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:30:55 +0200
commit8b59083eb13c0712e04d9a5b6d7bf4af5913c442 (patch)
treec71ce38a84380cd619c6bf7c478dc68ae3c20f9a /Makefile
parentda2bbd371c522d63d737d43a127601a3fdbcb9d8 (diff)
downloaddwm-8b59083eb13c0712e04d9a5b6d7bf4af5913c442.tar.gz
removed unnecessary crap
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index ccb9af7..74ef9ed 100644
--- a/Makefile
+++ b/Makefile
@@ -3,14 +3,12 @@
include config.mk
-WMSRC = bar.c client.c draw.c event.c kb.c mouse.c util.c wm.c
-WMOBJ = ${WMSRC:.c=.o}
-MENSRC = menu.c draw.c util.c
-MENOBJ = ${MENSRC:.c=.o}
-MAN1 = gridwm.1 gridmenu.1
-BIN = gridwm gridmenu
-
-all: config gridwm gridmenu
+SRC = client.c draw.c event.c kb.c mouse.c util.c wm.c
+OBJ = ${SRC:.c=.o}
+MAN1 = gridwm.1
+BIN = gridwm
+
+all: config gridwm
@echo finished
config:
@@ -24,18 +22,14 @@ config:
@echo CC $<
@${CC} -c ${CFLAGS} $<
-${WMOBJ}: wm.h draw.h config.h util.h
-
-gridmenu: ${MENOBJ}
- @echo LD $@
- @${CC} -o $@ ${MENOBJ} ${LDFLAGS}
+${OBJ}: wm.h
-gridwm: ${WMOBJ}
+gridwm: ${OBJ}
@echo LD $@
- @${CC} -o $@ ${WMOBJ} ${LDFLAGS}
+ @${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
- rm -f gridwm gridmenu *.o core
+ rm -f gridwm *.o core
dist: clean
mkdir -p gridwm-${VERSION}
remember that computers suck.