From 2d89d5f40cde60bf5c87206268dcb810b7175740 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Sat, 13 Nov 2021 19:46:41 +0000 Subject: [PATCH] Add all prereqs to linker flags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 42fdd28..4596199 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ clean: ifneq (${BIN},) ${BIN}: ${OBJ} - ${CC} -o "$@" ${LDFLAGS} $? + ${CC} -o "$@" ${LDFLAGS} $^ endif .PHONY: all clean