aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--src/lib/Makefile2
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bc42913..1b88242 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
export version = 1.0.2
override CXXFLAGS += -MMD -Wall -std=c++20
-export CXXFLAGS
override LDFLAGS += -Lsrc/lib -lbible
SOURCES = $(wildcard src/*.cc)
OBJECTS = $(SOURCES:.cc=.o)
diff --git a/src/lib/Makefile b/src/lib/Makefile
index 8084d3f..4f0d2cf 100644
--- a/src/lib/Makefile
+++ b/src/lib/Makefile
@@ -1,5 +1,5 @@
LIBS = sword minizip
-override CXXFLAGS += -fPIC `pkg-config $(LIBS) --cflags`
+override CXXFLAGS += -MMD -Wall -std=c++20 -fPIC `pkg-config $(LIBS) --cflags`
override LDFLAGS += -lstdc++fs `pkg-config $(LIBS) --libs`
SOURCES = $(wildcard *.cc)
OBJECTS = $(SOURCES:.cc=.o)