Mercurial > molko
changeset 412:a1d7f422759b
make: fix -lm
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 07 Oct 2022 15:22:17 +0200 |
parents | d74f53299252 |
children | 222045c513ec |
files | GNUmakefile |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/GNUmakefile Fri Oct 07 14:35:31 2022 +0200 +++ b/GNUmakefile Fri Oct 07 15:22:17 2022 +0200 @@ -43,6 +43,8 @@ OPENAL_LIBS ?= $(shell pkg-config --libs openal) endif +MATH_LIBS ?= -lm + # Global INCS, OPTS and DEFS for every targets. INCS := -Iextern/libdt \ -Iextern/libsqlite \ @@ -54,6 +56,7 @@ $(SDL2_INCS) \ $(SDL2_IMAGE_INCS) \ $(SDL2_TTF_INCS) \ + $(OPENAL_INCS) \ $(SNDFILE_INCS) ifeq ($(WITH_ZSTD),yes) @@ -295,6 +298,7 @@ $(LIBMLK_CORE) \ $(LIBMLK_PORT) \ $(LIBMLK_SQLITE) \ + $(MATH_LIBS) \ $(SDL2_LIBS) \ $(SDL2_IMAGE_LIBS) \ $(SDL2_TTF_LIBS) \