build: fix "ln: file exists" that pops up sometimes

This commit is contained in:
Ariadne Conill 2020-08-04 11:48:55 -06:00
parent 6728d2febe
commit 0d6b9d5d17

View file

@ -66,7 +66,7 @@ LIBS += ${LIBBSD_LIBS}
all: libifupdown.a ${MULTICALL} ${CMDS} all: libifupdown.a ${MULTICALL} ${CMDS}
${CMDS}: ${MULTICALL} ${CMDS}: ${MULTICALL}
ln -s ifupdown $@ ln -sf ifupdown $@
${MULTICALL}: ${LIBS} ${CMD_OBJ} ${MULTICALL}: ${LIBS} ${CMD_OBJ}
${CC} -o $@ ${CMD_OBJ} ${LIBS} ${CC} -o $@ ${CMD_OBJ} ${LIBS}