diff options
Diffstat (limited to 'util-src/Makefile')
-rw-r--r-- | util-src/Makefile | 20 |
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 |