From: Armaan Bhojwani Date: Mon, 3 May 2021 23:40:18 +0000 (-0400) Subject: Fix compatibility with GNU make X-Git-Url: https://git.armaanb.net/?p=opendoas.git;a=commitdiff_plain;h=eda15081af0597c744776a4f945cb7e809fcd935 Fix compatibility with GNU make In my attempts to make it compatible with bmake, I made it incompatible with gmake. --- diff --git a/Makefile b/Makefile index 8b0f258..b1494ca 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ OBJS := ${SRCS:.y=.c} OBJS := ${OBJS:.c=.o} ${PROG}: ${OBJS} + @[ -f ./libopenbsd/strlcat.o ] && mv libopenbsd/*.o . || true ${CC} ${CFLAGS} *.o -o $@ ${LDFLAGS} ${LDLIBS} install: ${PROG} ${MAN}