aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-22 17:23:32 +0800
committerMistivia <i@mistivia.com>2025-06-22 17:23:49 +0800
commit47c8353366c5cd7544d182a897bacaa303c08d8e (patch)
treed5362488aae5baba2afc3884d5339a09f182eaf9 /Makefile
parent5c0eddbed7f838daac17e0b9d9c2a23f17da4660 (diff)
math functions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ac435b..ac30fc3 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ mode ?= debug
cc = gcc
includes = -I3rdparty/algds/build/include/
3rdlibs = 3rdparty/algds/build/lib/libalgds.a
-ldflags = -lreadline
+ldflags = -lm -lreadline
ifeq ($(mode), debug)
cflags = $(includes) \
-g \