From cd0b4c7394f067b75e69a4e2e1fc918914d79877 Mon Sep 17 00:00:00 2001 From: namark <namark@disroot.org> Date: Sun, 18 Jul 2021 01:13:14 +0400 Subject: [PATCH] Local library linkage configuration file support --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c26c003..dd095b8 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ override CPPFLAGS += -MMD -MP override CPPFLAGS += $(shell cat .cxxflags | xargs) override CPPFLAGS += -I./include -I./source override LDFLAGS += $(shell cat .ldflags | xargs) +override LDLIBS += $(shell cat .ldlibs | xargs) override LDFLAGS += -L./lib override LDLIBS += -lSDL2main -lSDL2 -lpthread -- GitLab