From 9f700c070d37eb7b59219f508a43504b51ba1c4a Mon Sep 17 00:00:00 2001 From: Abdelrahman <said.abdelrahman89@gmail.com> Date: Wed, 24 Jan 2024 22:43:17 +0000 Subject: [PATCH] Update build script to link with math library --- compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile b/compile index a61ba5b..465e3ff 100755 --- a/compile +++ b/compile @@ -2,7 +2,7 @@ CC=clang CFLAGS="-g -Wall -Iinclude -Iintern $(pkg-config --cflags sdl2)" -LIBS="$(pkg-config --libs sdl2)" +LIBS="$(pkg-config --libs sdl2) -lm" SRC=src/*.c OUT=main