about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAli Fardan <raiz@stellarbound.space>2020-10-25 17:52:47 +0300
committerAli Fardan <raiz@stellarbound.space>2020-10-25 17:52:47 +0300
commitdf97ee6017a226e4b63e5228ffb5147d78b66824 (patch)
tree82698d975ebafe4bf7e890daf5d0a29f8c0b9c2a
parent77c7c2305f4ff5bd60258e53f2a9aec0c486d1af (diff)
downloadlibgemtext-df97ee6017a226e4b63e5228ffb5147d78b66824.tar.gz
fix makefile on OpenBSD
-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