diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-27 00:08:46 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-27 00:08:46 +0200 |
commit | ffa983b26574bdf668422a1f152f52004e1ede9c (patch) | |
tree | 10eebc2a477491d7f7577439a0cf7b16085da7e7 | |
parent | 0941a2d8f4d0cd675c5b35f6da188bcf16eefb72 (diff) | |
download | prosody-ffa983b26574bdf668422a1f152f52004e1ede9c.tar.gz prosody-ffa983b26574bdf668422a1f152f52004e1ede9c.zip |
util-src/Makefile: Tell Make how to build .so from .o in a modern way (Let built-in rules handle .o)
-rw-r--r-- | util-src/Makefile | 8 |
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) |