Software /
code /
prosody
Comparison
util-src/Makefile @ 6880:8678def0e53b
util-src/Makefile: Tell Make how to build .so from .o in a modern way (Let built-in rules handle .o)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Sep 2015 00:08:46 +0200 |
parent | 6879:187112928174 |
child | 6881:5886efd95c11 |
comparison
equal
deleted
inserted
replaced
6879:187112928174 | 6880:8678def0e53b |
---|---|
31 $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) | 31 $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) |
32 | 32 |
33 hashes.so: hashes.o | 33 hashes.so: hashes.o |
34 $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) | 34 $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) |
35 | 35 |
36 .c.o: | 36 %.so: %.o |
37 $(CC) $(CFLAGS) -c -o $@ $< | 37 $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) |
38 | |
39 .o.so: | |
40 $(LD) -o $@ $< $(LDFLAGS) | |
41 |