aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/Makefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-26 23:29:50 +0200
committerKim Alvefur <zash@zash.se>2015-09-26 23:29:50 +0200
commit2d99e30374fee2fdeff887d72e71c5ecbcd2e212 (patch)
treef03941854d4eb562b11dd38b94f8720f08f92571 /util-src/Makefile
parentc04b24d70bcd1b218f9a0b1556d292a51c121a4a (diff)
downloadprosody-2d99e30374fee2fdeff887d72e71c5ecbcd2e212.tar.gz
prosody-2d99e30374fee2fdeff887d72e71c5ecbcd2e212.zip
util-src/Makefile: Move list of .so files in a variable
Diffstat (limited to 'util-src/Makefile')
-rw-r--r--util-src/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/util-src/Makefile b/util-src/Makefile
index 3674975c..1f092b1e 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -11,18 +11,18 @@ CXX?=g++
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;