# HG changeset patch # User Kim Alvefur # Date 1443302990 -7200 # Node ID d1fc95d22f33120ec4353aabcf970f47621fc003 # Parent 12d68f7b1be0b5a138a212a1b4b9b691d8ccd97e util-src/Makefile: Move list of .so files in a variable diff -r 12d68f7b1be0 -r d1fc95d22f33 util-src/Makefile --- a/util-src/Makefile Sat Sep 26 21:41:11 2015 +0200 +++ b/util-src/Makefile Sat Sep 26 23:29:50 2015 +0200 @@ -11,18 +11,18 @@ 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;