From e57f499a321b204f9e80eeec7fb81a5a431a225d Mon Sep 17 00:00:00 2001 From: Quinn Date: Thu, 5 Jun 2025 00:14:53 +0200 Subject: [PATCH] add libmath to the linker --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 6c51643..2972487 100644 --- a/makefile +++ b/makefile @@ -12,7 +12,7 @@ DEBUG ?= 0 CC ?= cc LD ?= ld CFLAGS += -c -std=gnu99 -Wall -Wextra -Wpedantic -Ilib -MMD -MP -LDFLAGS += +LDFLAGS += -lm MARCH ?= $(shell uname -m) KERNEL ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')