From ffa983b26574bdf668422a1f152f52004e1ede9c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 27 Sep 2015 00:08:46 +0200 Subject: util-src/Makefile: Tell Make how to build .so from .o in a modern way (Let built-in rules handle .o) --- util-src/Makefile | 8 ++------ 1 file 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) -- cgit v1.2.3