mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
util-src/Makefile: Move list of .so files in a variable
This commit is contained in:
parent
36b5ae5e24
commit
ddc5466540
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue