commit d32534a583aca49f84f1a951af0d4c00820cee7e
parent b50d446e47335499a487c8b0ed77538165869e10
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Thu, 4 Jun 2026 17:12:21 +0200
Fix Makefile
Add a missing dependency to the all target.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -22,7 +22,7 @@ LIBNAME_SHARED = libscem.so
LIBNAME = $(LIBNAME_$(LIB_TYPE))
default: library
-all: default tests util
+all: default tests util scem
################################################################################
# Library
@@ -75,7 +75,7 @@ UTIL_DEP = $(UTIL_SRC:.c=.d)
PKG_CONFIG_LOCAL = PKG_CONFIG_PATH="./:$${PKG_CONFIG_PATH}" $(PKG_CONFIG)
INCS_UTIL = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --cflags rsys scem-local)
-LIBS_UTIL = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --libs rsys scem-local)
+LIBS_UTIL = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --libs rsys scem-local) -lm
CFLAGS_UTIL = $(CFLAGS_EXE) $(INCS_UTIL)
LDFLAGS_UTIL = $(LDFLAGS_EXE) $(LIBS_UTIL)