X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=Makefile;h=24947f1da424c78d0141858ec4a4f8285e9b4426;hp=5fbf05c247df91eb4b7be55df95ed22ad824e319;hb=2d81b78b853565a3e34a8a9190e2362a6fdde739;hpb=d9386a0c07a72e415abaeacd611fe880e20b2a03 diff --git a/Makefile b/Makefile index 5fbf05c..24947f1 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,12 @@ # dwm - dynamic window manager -# (C)opyright MMVI 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 +SRC += client.c draw.c event.c layout.c main.c tag.c util.c OBJ = ${SRC:.c=.o} all: options dwm - @echo finished options: @echo dwm build options: @@ -19,16 +18,15 @@ options: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: dwm.h config.h +${OBJ}: dwm.h config.h config.mk config.h: @echo creating $@ from config.default.h @cp config.default.h $@ dwm: ${OBJ} - @echo LD $@ + @echo CC -o $@ @${CC} -o $@ ${OBJ} ${LDFLAGS} - @strip $@ 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: