X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/94ea78f0fe394fc6b42dc0d83be9abf3d1c77ea0..94a62b864b56d8bad1fb68925dcee7c71015bc54:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index f31d1c7..d20ad8f 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,11 @@ options: @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: config.mk +${OBJ}: config.h config.mk + +config.h: config.def.h + @echo creating $@ from config.def.h + @cp config.def.h $@ ${NAME}: ${OBJ} @echo CC -o $@