util-src/Makefile: Move list of .so files in a variable

This commit is contained in:
Kim Alvefur 2015-09-26 23:29:50 +02:00
parent 36b5ae5e24
commit ddc5466540

View file

@ -11,18 +11,18 @@ CXX?=g++
LD?=gcc LD?=gcc
CFLAGS+=-ggdb CFLAGS+=-ggdb
ALL=encodings.so hashes.so net.so pposix.so signal.so table.so
.PHONY: all install clean .PHONY: all install clean
.SUFFIXES: .c .o .so .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: $(ALL)
install *.so ../util/ install $^ ../util/
clean: clean:
rm -f *.o rm -f $(ALL)
rm -f *.so
rm -f ../util/*.so
encodings.so: encodings.o encodings.so: encodings.o
MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET;