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
|
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue