From d80b85d2b61225a27fa7b2058f60831d4a73110f Mon Sep 17 00:00:00 2001 From: cbdev Date: Tue, 27 Feb 2024 20:14:18 +0100 Subject: Fix makefile argument ordering --- plugins/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/makefile b/plugins/makefile index f0b38cb..0ba6e6c 100644 --- a/plugins/makefile +++ b/plugins/makefile @@ -5,10 +5,10 @@ CFLAGS += -fPIC -g -I../ LDFLAGS += -shared %.so :: %.c %.h - $(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(LDFLAGS) + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS) %.so :: %.c - $(CC) $(CFLAGS) $(LDLIBS) $< -o $@ $(LDFLAGS) + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS) all: $(PLUGINS) -- cgit v1.2.3