Comparison

util-src/Makefile @ 6878:53a74a80c91a

configure, util-src/Makefile: Move OS X deployment flag to an C compiler argument set by configure
author Kim Alvefur <zash@zash.se>
date Sat, 26 Sep 2015 23:42:46 +0200
parent 6877:020ededc84a6
child 6879:187112928174
comparison
equal deleted inserted replaced
6877:020ededc84a6 6878:53a74a80c91a
26 26
27 clean: 27 clean:
28 rm -f $(ALL) 28 rm -f $(ALL)
29 29
30 encodings.so: encodings.o 30 encodings.so: encodings.o
31 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
32 $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) 31 $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS)
33 32
34 hashes.so: hashes.o 33 hashes.so: hashes.o
35 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
36 $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) 34 $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB)
37 35
38 .c.o: 36 .c.o:
39 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< 37 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $<
40 38
41 .o.so: 39 .o.so:
42 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
43 $(LD) -o $@ $< $(LDFLAGS) 40 $(LD) -o $@ $< $(LDFLAGS)
44 41