Add libm to libraries
This commit is contained in:
3
compile
3
compile
@@ -2,9 +2,10 @@
|
|||||||
|
|
||||||
CC=clang
|
CC=clang
|
||||||
CFLAGS="-g -Wall -Werror -pedantic -Iinclude $(pkg-config --cflags sdl2)"
|
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 \
|
RAYTRACER_SRC="src/window/*.c \
|
||||||
|
src/vector/*.c \
|
||||||
src/raytracer/*.c \
|
src/raytracer/*.c \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user