--- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3478218..f9e7a38 100644 --- a/Makefile +++ b/Makefile _AT_@ -9,7 +9,7 @@ include config.mk BIN = ${NAME}-${LAYOUT} SRC = drw.c ${NAME}.c util.c -OBJ = ${SRC:.c=.o} +OBJ = drw.o ${NAME}-${LAYOUT}.o util.o MAN1 = ${NAME}.1 all: ${BIN} _AT_@ -24,7 +24,8 @@ options: config.h: cp config.def.h $_AT_ -svkbd.o: config.h layout.${LAYOUT}.h +svkbd-${LAYOUT}.o: config.h layout.${LAYOUT}.h + ${CC} ${SVKBD_CFLAGS} ${SVKBD_CPPFLAGS} -c svkbd.c -o $_AT_ .c.o: ${CC} ${SVKBD_CFLAGS} ${SVKBD_CPPFLAGS} -c $< _AT_@ -35,7 +36,7 @@ ${BIN}: ${OBJ} ${CC} -o ${BIN} ${OBJ} ${SVKBD_LDFLAGS} clean: - rm -f ${NAME}-?? ${NAME}-??.o ${OBJ} ${BIN} + rm -f ${NAME}-?? ${NAME}-*.o ${OBJ} ${BIN} dist: rm -rf "${NAME}-${VERSION}" -- 2.25.1Received on Thu Sep 30 2021 - 21:36:53 CEST
This archive was generated by hypermail 2.3.0 : Thu Sep 30 2021 - 22:12:32 CEST