Make install
All checks were successful
/ unit_test (push) Successful in 44s

This commit is contained in:
Daniele Lacamera 2024-11-28 11:44:58 +00:00
parent 44deb02802
commit 4bf4bd3870

View file

@ -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