From: Aaron Marcher Date: Mon, 9 Jan 2017 08:21:18 +0000 (+0100) Subject: Makefile: Added back config.h handling in Makefile X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=bb8773651843b9ca72a4f0d51df6d657772f0840;p=suckless%2Fslstatus.git Makefile: Added back config.h handling in Makefile --- diff --git a/Makefile b/Makefile index 38712c5..79b8de0 100644 --- a/Makefile +++ b/Makefile @@ -6,9 +6,12 @@ NAME=slstatus all: ${NAME} -${NAME}: +${NAME}: config.h ${CC} ${CFLAGS} -o $@ ${NAME}.c ${LDFLAGS} +config.h: + cp config.def.h $@ + clean: rm -f ${NAME}