From 35217530e4626355b43d242cd626ceeea53d3211 Mon Sep 17 00:00:00 2001 From: lohhiiccc <96543753+lohhiiccc@users.noreply.github.com> Date: Thu, 12 Mar 2026 16:12:30 +0100 Subject: [PATCH] build: add -lm flag and update libicmp submodule --- Makefile | 3 +++ libicmp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 84097ae..266e3ec 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,9 @@ LIBICMP_SRCS = $(shell find $(LIBICMP_DIR)/src -type f -name '*.c' 2>/dev/null) LIBICMP_HEADERS = $(wildcard $(LIBICMP_DIR)/includes/*.h) endif +# Extra link flags +LDFLAGS += -lm + # Build Directories OBJ_DIR = build OBJS = $(SRCS:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o) diff --git a/libicmp b/libicmp index 69a6a63..f85b342 160000 --- a/libicmp +++ b/libicmp @@ -1 +1 @@ -Subproject commit 69a6a633d4f98d9a15c323d43edcd2395c14d141 +Subproject commit f85b342f8c87eb576dcff8eaa65bb4a2c90551b7