makefile cleanup

This commit is contained in:
Frank Villaro-Dixon 2015-01-04 11:52:51 +01:00
parent f8a448d9ce
commit 2289ab91ea

View file

@ -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