Updated makefile to compile on Linux (math wasn't linked)

This commit is contained in:
Joe Adams 2018-01-10 12:12:09 +00:00
parent 589b989b36
commit 841efab5eb

View File

@ -1,5 +1,5 @@
breakout_s = breakout.c breakout_s = breakout.c
breakout_c = breakout breakout_c = breakout
all: breakout.c all: breakout.c
clang $(breakout_s) -l SDL2 -lGLU -lGL -o $(breakout_c) clang $(breakout_s) -l SDL2 -lGLU -lGL -lm -o $(breakout_c)
./breakout ./breakout