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
1 changed files with 4 additions and 1 deletions

View File

@ -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}