From ddc546654041db461661773e9346fcbeb199719a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 26 Sep 2015 23:29:50 +0200 Subject: util-src/Makefile: Move list of .so files in a variable --- util-src/Makefile | 12 ++++++------ 1 file 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; -- cgit v1.2.3