diff --git a/Makefile b/Makefile index 74743072f108c3158d0e13fc2186b1fedcc147f0..3d2589e8789dc5c2d2cd937774c7490477f50277 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ CXXFLAGS += -MMD -MP CXXFLAGS += $(shell cat .cxxflags 2> /dev/null | xargs) CXXFLAGS += -I./include LDFLAGS += $(shell cat .ldflags 2> /dev/null | xargs) +LDLIBS += $(shell cat .ldlibs 2> /dev/null | xargs) ifneq ($(strip $(WEB)),) LIBDIR := ./lib/web CXXFLAGS += -s USE_SDL=2