From 2289ab91eac988db4d74e989c625d749bee9ebf1 Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Sun, 4 Jan 2015 11:52:51 +0100 Subject: [PATCH] makefile cleanup --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9febfe0..852bde4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ +FLAGS=-Wall -Wextra +LINKS=-lSDL_mixer -lSDL_ttf -lm + all: - clang src/*.c -g3 `sdl-config --cflags --libs` -lSDL_mixer -lSDL_ttf -lm -Wall -Wextra -o hyper_rotagon + clang src/*.c `sdl-config --cflags --libs` $(LINKS) $(FLAGS) -o hyper_rotagon clean: rm hyper_rotagon