JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
separated layout-specific stuff into separate .h and .c files which are included...
[dwm.git] / Makefile
index 2ce71cc..24947f1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
 # dwm - dynamic window manager
-#   (C)opyright MMVII Anselm R. Garbe
+# © 2006-2007 Anselm R. Garbe, Sander van Dijk
 
 include config.mk
 
-SRC = client.c draw.c event.c main.c tag.c util.c view.c
+SRC += client.c draw.c event.c layout.c main.c tag.c util.c
 OBJ = ${SRC:.c=.o}
 
 all: options dwm
@@ -13,7 +13,6 @@ options:
        @echo "CFLAGS   = ${CFLAGS}"
        @echo "LDFLAGS  = ${LDFLAGS}"
        @echo "CC       = ${CC}"
-       @echo "LD       = ${LD}"
 
 .c.o:
        @echo CC $<
@@ -26,9 +25,8 @@ config.h:
        @cp config.default.h $@
 
 dwm: ${OBJ}
-       @echo LD $@
-       @${LD} -o $@ ${OBJ} ${LDFLAGS}
-       @strip $@
+       @echo CC -o $@
+       @${CC} -o $@ ${OBJ} ${LDFLAGS}
 
 clean:
        @echo cleaning
@@ -50,7 +48,7 @@ install: all
        @chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
        @echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
        @mkdir -p ${DESTDIR}${MANPREFIX}/man1
-       @sed 's/VERSION/${VERSION}/g' < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
+       @sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
        @chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1
 
 uninstall: