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
commitddc546654041db461661773e9346fcbeb199719a (patch)
treef03941854d4eb562b11dd38b94f8720f08f92571 /util-src/Makefile
parent36b5ae5e248a7f38aff69987adc07c093c75f17b (diff)
downloadprosody-ddc546654041db461661773e9346fcbeb199719a.tar.gz
prosody-ddc546654041db461661773e9346fcbeb199719a.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;