summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-06 14:23:12 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-06 14:23:12 -0800
commit213b95227a18809476bababef72ab3861bfa0e2d (patch)
treef47078f0068290abae8fb79c75684085d68f68de /Makefile
parentae0f85a2ea9f7900b8869f1e960675f7a6ee5692 (diff)
add -lm to makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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