aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-10-13 00:51:50 +0100
committerMatthew Wild <mwild1@gmail.com>2011-10-13 00:51:50 +0100
commitb37d69ecf9084dbaabec00f1959a0d4865feb3f1 (patch)
tree40f5585d294fc580bdabcf47e08fe09f59657af8 /util-src
parentf0a3554f80b4df6010450f89c4cd1ad386495658 (diff)
downloadprosody-b37d69ecf9084dbaabec00f1959a0d4865feb3f1.tar.gz
prosody-b37d69ecf9084dbaabec00f1959a0d4865feb3f1.zip
Makefile, util-src/Makefile: Add .PHONY, reorganise util-src/Makefile
Diffstat (limited to 'util-src')
-rw-r--r--util-src/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/util-src/Makefile b/util-src/Makefile
index 1ca934ad..2c8243f9 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -10,8 +10,19 @@ CC?=gcc
CXX?=g++
LD?=gcc
+.PHONY: all install clean
.SUFFIXES: .c .o .so
+all: encodings.so hashes.so pposix.so signal.so
+
+install: encodings.so hashes.so pposix.so signal.so
+ install *.so ../util/
+
+clean:
+ rm -f *.o
+ rm -f *.so
+ rm -f ../util/*.so
+
encodings.so: encodings.o
MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
$(CC) -o $@ $< $(LDFLAGS) $(IDNA_LIBS)
@@ -27,12 +38,3 @@ hashes.so: hashes.o
MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;
$(LD) -o $@ $< $(LDFLAGS)
-all: encodings.so hashes.so pposix.so signal.so
-
-install: encodings.so hashes.so pposix.so signal.so
- install *.so ../util/
-
-clean:
- rm -f *.o
- rm -f *.so
- rm -f ../util/*.so