aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1b88242..e064f7a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
export version = 1.0.2
override CXXFLAGS += -MMD -Wall -std=c++20
-override LDFLAGS += -Lsrc/lib -lbible
SOURCES = $(wildcard src/*.cc)
OBJECTS = $(SOURCES:.cc=.o)
DEPS = $(OBJECTS:.o=.d)
@@ -12,7 +11,7 @@ bindir ?= $(exec_prefix)/bin
includedir ?= $(prefix)/include
$(EXECUTABLE): $(OBJECTS) libbible
- $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
+ $(CXX) $(OBJECTS) -o $@ $(LDFLAGS) -Lsrc/lib -lbible
-include $(DEPS)