X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=b7db7cc20e5715d8f8702c8f9f082c88278d260f;hb=a2d56f6dcef7adb1a85951871cb51a052709241a;hp=57cacbb43f9210278bb96d2e67f273104d36efd0;hpb=4d55eee7547ff3b9e0d801c1aa86ba62286f56c4;p=dwm.git diff --git a/Makefile b/Makefile index 57cacbb..b7db7cc 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ 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,8 +23,8 @@ options: ${OBJ}: dwm.h config.h config.h: - @echo creating default $@ - @cp config.default.h $@ + @echo creating $@ from ${CONFIG} + @cp ${CONFIG} $@ dwm: ${OBJ} @echo LD $@