Makefile: Added back config.h handling in Makefile

This commit is contained in:
Aaron Marcher 2017-01-09 09:21:18 +01:00
parent 98d655c8d0
commit bb87736518
No known key found for this signature in database
GPG key ID: 74B048E5C2474F9A

View file

@ -6,9 +6,12 @@ NAME=slstatus
all: ${NAME} all: ${NAME}
${NAME}: ${NAME}: config.h
${CC} ${CFLAGS} -o $@ ${NAME}.c ${LDFLAGS} ${CC} ${CFLAGS} -o $@ ${NAME}.c ${LDFLAGS}
config.h:
cp config.def.h $@
clean: clean:
rm -f ${NAME} rm -f ${NAME}