add libmath to the linker

This commit is contained in:
2025-06-05 00:14:53 +02:00
parent 13b63a1ba2
commit e57f499a32

View File

@@ -12,7 +12,7 @@ DEBUG ?= 0
CC ?= cc CC ?= cc
LD ?= ld LD ?= ld
CFLAGS += -c -std=gnu99 -Wall -Wextra -Wpedantic -Ilib -MMD -MP CFLAGS += -c -std=gnu99 -Wall -Wextra -Wpedantic -Ilib -MMD -MP
LDFLAGS += LDFLAGS += -lm
MARCH ?= $(shell uname -m) MARCH ?= $(shell uname -m)
KERNEL ?= $(shell uname -s | tr '[:upper:]' '[:lower:]') KERNEL ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')