Software /
code /
prosody
Changeset
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 |
parents | 6875:12d68f7b1be0 |
children | 6877:020ededc84a6 |
files | util-src/Makefile |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/util-src/Makefile Sat Sep 26 21:41:11 2015 +0200 +++ b/util-src/Makefile Sat Sep 26 23:29:50 2015 +0200 @@ -11,18 +11,18 @@ LD?=gcc CFLAGS+=-ggdb +ALL=encodings.so hashes.so net.so pposix.so signal.so table.so + .PHONY: all install clean .SUFFIXES: .c .o .so -all: encodings.so hashes.so net.so pposix.so signal.so table.so +all: $(ALL) -install: encodings.so hashes.so net.so pposix.so signal.so table.so - install *.so ../util/ +install: $(ALL) + install $^ ../util/ clean: - rm -f *.o - rm -f *.so - rm -f ../util/*.so + rm -f $(ALL) encodings.so: encodings.o MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;