From 2224cc3a999db3e582cfc140ec176818d3a50c68 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 22 Feb 2022 11:55:42 -0500 Subject: Added soname to library --- src/test/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/test') diff --git a/src/test/Makefile b/src/test/Makefile index 1f8bc8b..422cc03 100644 --- a/src/test/Makefile +++ b/src/test/Makefile @@ -1,13 +1,11 @@ -LIBS = sword minizip -override CXXFLAGS += -MMD -Wall -fPIC -std=c++20 `pkg-config $(LIBS) --cflags` -override LDFLAGS += -lstdc++fs `pkg-config $(LIBS) --libs` -lcppunit ../../libbible.so +override LDFLAGS += -lcppunit ../lib/libbible.so SOURCES = $(wildcard *.cc) OBJECTS = $(SOURCES:.cc=.o) DEPS = $(OBJECTS:.o=.d) TEST = testLibbible $(TEST): $(OBJECTS) - $(CXX) $(OBJECTS) -o $@ $(LDFLAGS) + $(CXX) $^ -o $@ $(LDFLAGS) -include $(DEPS) -- cgit v1.2.3