Add libm to libraries
This commit is contained in:
parent
f0b6771255
commit
25ff01b815
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 \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user