aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util-src/Makefile')
-rw-r--r--util-src/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/util-src/Makefile b/util-src/Makefile
index 91c60d7f..c71e06b4 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -33,9 +33,5 @@ encodings.so: encodings.o
hashes.so: hashes.o
$(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB)
-.c.o:
- $(CC) $(CFLAGS) -c -o $@ $<
-
-.o.so:
- $(LD) -o $@ $< $(LDFLAGS)
-
+%.so: %.o
+ $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)