From 25ff01b815b1853930558a184e41689fc5ddc2c0 Mon Sep 17 00:00:00 2001 From: Abdelrahman Said Date: Wed, 20 Dec 2023 00:05:09 +0000 Subject: [PATCH] Add libm to libraries --- compile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compile b/compile index 07b329e..3a30b7b 100644 --- a/compile +++ b/compile @@ -2,9 +2,10 @@ CC=clang CFLAGS="-g -Wall -Werror -pedantic -Iinclude $(pkg-config --cflags sdl2)" -LIBS="$(pkg-config --libs sdl2)" +LIBS="$(pkg-config --libs sdl2) -lm" RAYTRACER_SRC="src/window/*.c \ + src/vector/*.c \ src/raytracer/*.c \ "