diff options
author | Nathan Vance <natervance@gmail.com> | 2025-09-10 21:12:18 -0400 |
---|---|---|
committer | Nathan Vance <natervance@gmail.com> | 2025-09-10 21:12:18 -0400 |
commit | be5e0541cb0f028c4e78bdcba37428c6c0fefef0 (patch) | |
tree | be7a374bd8f3558f5393e3d0d5ba840c3d28e8f9 | |
parent | f909f30cc967bdf4a0f4cb16c47db273cda6ef2b (diff) | |
download | libbible-master.tar.gz libbible-master.tar.bz2 libbible-master.zip |
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/lib/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ exec_prefix ?= $(prefix) libdir ?= $(exec_prefix)/lib bindir ?= $(exec_prefix)/bin includedir ?= $(prefix)/include -completions ?= `pkg-config --variable=completionsdir bash-completion` +completions ?= $(shell pkg-config --variable=completionsdir bash-completion) $(EXECUTABLE): $(OBJECTS) libbible $(CXX) $(OBJECTS) -o $@ $(LDFLAGS) -Lsrc/lib -lbible diff --git a/src/lib/Makefile b/src/lib/Makefile index 80b7bb7..c50efd7 100644 --- a/src/lib/Makefile +++ b/src/lib/Makefile @@ -1,6 +1,6 @@ LIBS = sword minizip -override CXXFLAGS += -MMD -Wall -std=c++20 -fPIC `pkg-config $(LIBS) --cflags` -override LDFLAGS += -lstdc++fs `pkg-config $(LIBS) --libs` +override CXXFLAGS += -MMD -Wall -std=c++20 -fPIC $(shell pkg-config $(LIBS) --cflags) +override LDFLAGS += -lstdc++fs $(shell pkg-config $(LIBS) --libs) SOURCES = $(wildcard *.cc) OBJECTS = $(SOURCES:.cc=.o) DEPS = $(OBJECTS:.o=.d) |