about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0768504..452443d 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,10 @@ MANPAGES = gemtext_decode.3 gemtext_encode.3 gemtext_free.3\
 all: $(TARGET_LIB_STATIC) $(TARGET_LIB_DYNAMIC)
 
 $(TARGET_LIB_STATIC): $(OBJS)
-	$(AR) rcs $@ $^
+	$(AR) rcs $@ $(OBJS)
 
 $(TARGET_LIB_DYNAMIC): $(OBJS)
-	$(CC) -shared -o $@ $^
+	$(CC) -shared -o $@ $(OBJS)
 
 install: all
 	mkdir -p $(PREFIX)/lib