From 841efab5eb1a7ae2d8fe7731334298392cae3f20 Mon Sep 17 00:00:00 2001 From: Joe Adams Date: Wed, 10 Jan 2018 12:12:09 +0000 Subject: [PATCH] Updated makefile to compile on Linux (math wasn't linked) --- breakout/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breakout/makefile b/breakout/makefile index c438a9a..f9e9cab 100644 --- a/breakout/makefile +++ b/breakout/makefile @@ -1,5 +1,5 @@ breakout_s = breakout.c breakout_c = breakout 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