From 12b6867f4684913b36962d0abda3ac6c7cfbc9c4 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Sat, 13 Nov 2021 19:49:40 +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