Software /
code /
prosody
Comparison
util-src/Makefile @ 6876:d1fc95d22f33
util-src/Makefile: Move list of .so files in a variable
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 26 Sep 2015 23:29:50 +0200 |
parent | 6610:7c4cf87f4dff |
child | 6877:020ededc84a6 |
comparison
equal
deleted
inserted
replaced
6875:12d68f7b1be0 | 6876:d1fc95d22f33 |
---|---|
9 CC?=gcc | 9 CC?=gcc |
10 CXX?=g++ | 10 CXX?=g++ |
11 LD?=gcc | 11 LD?=gcc |
12 CFLAGS+=-ggdb | 12 CFLAGS+=-ggdb |
13 | 13 |
14 ALL=encodings.so hashes.so net.so pposix.so signal.so table.so | |
15 | |
14 .PHONY: all install clean | 16 .PHONY: all install clean |
15 .SUFFIXES: .c .o .so | 17 .SUFFIXES: .c .o .so |
16 | 18 |
17 all: encodings.so hashes.so net.so pposix.so signal.so table.so | 19 all: $(ALL) |
18 | 20 |
19 install: encodings.so hashes.so net.so pposix.so signal.so table.so | 21 install: $(ALL) |
20 install *.so ../util/ | 22 install $^ ../util/ |
21 | 23 |
22 clean: | 24 clean: |
23 rm -f *.o | 25 rm -f $(ALL) |
24 rm -f *.so | |
25 rm -f ../util/*.so | |
26 | 26 |
27 encodings.so: encodings.o | 27 encodings.so: encodings.o |
28 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; | 28 MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; |
29 $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) | 29 $(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS) |
30 | 30 |