X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=d3fc989a8659ab3b1c647c1f9a614546b1c212c4;hb=82064af2d7076045980c694241cf0326aea7e7e2;hp=6eb05b616b6a8ef041106f2a7a54cb4917ac91f5;hpb=05a618b06e8fd8807b9a5e7c0bcef33c68d00044;p=dwm.git diff --git a/Makefile b/Makefile index 6eb05b6..d3fc989 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,6 @@ include config.mk SRC = client.c draw.c event.c main.c tag.c util.c OBJ = ${SRC:.c=.o} -CONFIG ?= config.default.h all: options dwm @echo finished @@ -22,17 +21,18 @@ options: ${OBJ}: dwm.h config.h -config.h: ${CONFIG} - @echo creating $@ from ${CONFIG} - @cp ${CONFIG} $@ +config.h: + @echo creating $@ from config.default.h + @cp config.default.h $@ dwm: ${OBJ} @echo LD $@ @${CC} -o $@ ${OBJ} ${LDFLAGS} + @strip $@ clean: @echo cleaning - @rm -f dwm ${OBJ} config.h dwm-${VERSION}.tar.gz + @rm -f dwm ${OBJ} dwm-${VERSION}.tar.gz dist: clean @echo creating dist tarball