From 044de2da78db44b3c40ea191bc052ba859fe2203 Mon Sep 17 00:00:00 2001 From: night0721 Date: Sat, 12 Oct 2024 22:01:35 +0100 Subject: [PATCH] Add -lm in Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ce79d82..428d23c 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ PREFIX ?= /usr/local BINDIR = $(PREFIX)/bin # Flags -CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -flto -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 +CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -flto -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -lm SRC = $(TARGET).c