From 51c9eae76f0e5452bd26aa19db786eaa2383e8ba Mon Sep 17 00:00:00 2001 From: Joe Adams Date: Fri, 12 Jan 2018 08:59:46 +0000 Subject: [PATCH] Updated makefile for Linux --- breakout/makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/breakout/makefile b/breakout/makefile index a2aec50..fb4730e 100644 --- a/breakout/makefile +++ b/breakout/makefile @@ -1,8 +1,7 @@ -breakout_s = breakout.c -breakout_c = breakout +breakout_c = Breaky all: breakout.c - clang $(breakout_s) -l SDL2 -l SDL2_image -l SDL2_ttf -lGLU -lGL -lm -o $(breakout_c) - ./breakout + clang *.c -l SDL2 -l SDL2_image -l SDL2_ttf -lGLU -lGL -lm -o $(breakout_c) + ./$(breakout_c) clean: breakout.c rm $(breakout_c)