- Link with -lm, as sqrt() is used; fixes build on arm

This commit is contained in:
Dmitry Marakasov 2014-09-23 11:50:43 +00:00
parent 2ef7b93817
commit 816b3437a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369047

View file

@ -8,7 +8,7 @@
+#CC=gcc
-LIBS=SDL_image
+LIBS=`sdl-config --libs` -lSDL_image -lSDL_mixer
+LIBS=`sdl-config --libs` -lSDL_image -lSDL_mixer -lm
C_FILES=moon_lander.c game_lib.c DT_drawtext.c
OBJ_FILES=moon_lander.o game_lib.o DT_drawtext.o