From e8c53b1f9b1b33c11cd6da3b91f22d696a303a32 Mon Sep 17 00:00:00 2001 From: Vftdan Date: Wed, 2 Oct 2024 21:22:19 +0200 Subject: [PATCH] Fix linking recipe for wsvpn Only the first object was being added --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0ec1f65..21e8cf0 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,6 @@ LDLIBS += -lm all: img2cpi wsvpn wsvpn: wsvpn.o dependencies/mongoose/mongoose.o - $(CC) $(LDFLAGS) "$<" $(LOADLIBES) $(LDLIBS) -o "$@" + $(CC) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o "$@" .PHONY: all