summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8472075..5cfc70f 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ $(APPNAME).a: $(OBJS)
$(AR) -rs $@ $?
$(SONAME): $(OBJS)
- $(CC) $(LDFLAGS) -o $@ $? $(LDLIBS)
+ $(CC) $(LDFLAGS) -o $@ $+ $(LDLIBS)
# Handle header dependencies
DEPS = $(OBJS:.o=.d)