Comparison

util-src/Makefile @ 6881:5886efd95c11

util-src/Makefile: Don't make exceptions for how to build .so for util.hashes and util.encodings
author Kim Alvefur <zash@zash.se>
date Sun, 27 Sep 2015 00:10:18 +0200
parent 6880:8678def0e53b
child 6882:e8d887ae659a
comparison
equal deleted inserted replaced
6880:8678def0e53b 6881:5886efd95c11
25 $(INSTALL_DATA) $^ $(TARGET) 25 $(INSTALL_DATA) $^ $(TARGET)
26 26
27 clean: 27 clean:
28 rm -f $(ALL) 28 rm -f $(ALL)
29 29
30 encodings.so: encodings.o 30 encodings.so: LDLIBS+=$(IDNA_LIBS)
31 $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS)
32 31
33 hashes.so: hashes.o 32 hashes.so: LDLIBS+=-l$(OPENSSL_LIB)
34 $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB)
35 33
36 %.so: %.o 34 %.so: %.o
37 $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS) 35 $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)