diff options
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |