Makefile: Added back config.h handling in Makefile
This commit is contained in:
parent
98d655c8d0
commit
bb87736518
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue