X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=ad8ec080237f02c94cd1e9fdd470a73751e1d67d;hb=cff951c65086950eeef5723b65dc06cbe7cdfa19;hp=aebd21bb509705a44a037de97ab508538ffb821f;hpb=66e16c92d315d11edadb9bafbf74926ae2c30fe3;p=dwm.git diff --git a/Makefile b/Makefile index aebd21b..ad8ec08 100644 --- a/Makefile +++ b/Makefile @@ -3,23 +3,23 @@ include config.mk -SRC = client.c draw.c event.c main.c tag.c util.c +SRC = client.c draw.c event.c main.c tag.c util.c view.c OBJ = ${SRC:.c=.o} all: options dwm - @echo finished options: @echo dwm build options: @echo "CFLAGS = ${CFLAGS}" @echo "LDFLAGS = ${LDFLAGS}" @echo "CC = ${CC}" + @echo "LD = ${LD}" .c.o: @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 @@ -27,7 +27,7 @@ config.h: dwm: ${OBJ} @echo LD $@ - @${CC} -o $@ ${OBJ} ${LDFLAGS} + @${LD} -o $@ ${OBJ} ${LDFLAGS} @strip $@ clean: @@ -50,7 +50,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: