Software /
code /
prosody
Comparison
util-src/Makefile @ 3964:1b81df4042c0
util-src/Makefile: Change parameter order so that LDFLAGS always comes later than the input files
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 26 Dec 2010 05:37:27 +0000 |
parent | 3963:18b82491dc88 |
child | 4396:03b59a511671 |
comparison
equal
deleted
inserted
replaced
3963:18b82491dc88 | 3964:1b81df4042c0 |
---|---|
12 | 12 |
13 .SUFFIXES: .c .o .so | 13 .SUFFIXES: .c .o .so |
14 | 14 |
15 encodings.so: encodings.o | 15 encodings.so: encodings.o |
16 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; | 16 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; |
17 $(CC) $(LDFLAGS) $(IDNA_LIBS) -o $@ $< | 17 $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) |
18 | 18 |
19 hashes.so: hashes.o | 19 hashes.so: hashes.o |
20 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; | 20 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; |
21 $(CC) $(LDFLAGS) -l$(OPENSSL_LIB) -o $@ $< | 21 $(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB) |
22 | 22 |
23 .c.o: | 23 .c.o: |
24 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< | 24 $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $< |
25 | 25 |
26 .o.so: | 26 .o.so: |
27 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; | 27 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; |
28 $(LD) $(LDFLAGS) -o $@ $< | 28 $(LD) -o $@ $< $(LDFLAGS) |
29 | 29 |
30 all: encodings.so hashes.so pposix.so signal.so | 30 all: encodings.so hashes.so pposix.so signal.so |
31 | 31 |
32 install: encodings.so hashes.so pposix.so signal.so | 32 install: encodings.so hashes.so pposix.so signal.so |
33 install *.so ../util/ | 33 install *.so ../util/ |