This commit is contained in:
parent
44deb02802
commit
4bf4bd3870
1 changed files with 8 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -10,6 +10,8 @@ EXE=build/tcpecho build/tcp_netcat_poll build/tcp_netcat_select \
|
||||||
build/test-evloop
|
build/test-evloop
|
||||||
LIB=libfemtotcp.so
|
LIB=libfemtotcp.so
|
||||||
|
|
||||||
|
PREFIX=/usr/local
|
||||||
|
|
||||||
|
|
||||||
all: $(EXE) $(LIB)
|
all: $(EXE) $(LIB)
|
||||||
|
|
||||||
|
@ -71,4 +73,10 @@ unit:
|
||||||
@mkdir -p build/test/
|
@mkdir -p build/test/
|
||||||
@mv src/test/unit/unit build/test
|
@mv src/test/unit/unit build/test
|
||||||
|
|
||||||
|
# Install dynamic library to re-link linux applications
|
||||||
|
#
|
||||||
|
install:
|
||||||
|
install libfemtotcp.so $(PREFIX)/lib
|
||||||
|
ldconfig
|
||||||
|
|
||||||
.PHONY: clean all static
|
.PHONY: clean all static
|
||||||
|
|
Loading…
Reference in a new issue