From 213b95227a18809476bababef72ab3861bfa0e2d Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 6 Feb 2023 14:23:12 -0800 Subject: add -lm to makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8a8265b..2f8d956 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS=-I. -pthread -Wall -Wextra -Wpedantic -std=c99 -march=native -O3 +CFLAGS=-I. -pthread -Wall -Wextra -Wpedantic -std=c99 -march=native -O3 -lm CFLAGS+= -Wshadow -Wstrict-prototypes -Wundef -Wpointer-arith -Wcast-align -Wstrict-overflow=5 -Wswitch-default CFLAGS+= -Wunreachable-code -Wswitch-enum -Wformat=2 PREFIX ?= /usr -- cgit v1.3.1