aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util-src/Makefile')
-rw-r--r--util-src/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/util-src/Makefile b/util-src/Makefile
index 1ca934ad..3a1ba3f2 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -9,9 +9,21 @@ OPENSSL_LIB?=crypto
CC?=gcc
CXX?=g++
LD?=gcc
+CFLAGS+=-ggdb
+.PHONY: all install clean
.SUFFIXES: .c .o .so
+all: encodings.so hashes.so net.so pposix.so signal.so
+
+install: encodings.so hashes.so net.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 +39,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