X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/d1915f0d4d6bae409da7d7cded482650ed2959d8..bb8773651843b9ca72a4f0d51df6d657772f0840:/Makefile diff --git a/Makefile b/Makefile index afdbcdf..79b8de0 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,12 @@ NAME=slstatus all: ${NAME} +${NAME}: config.h + ${CC} ${CFLAGS} -o $@ ${NAME}.c ${LDFLAGS} + +config.h: + cp config.def.h $@ + clean: rm -f ${NAME}