CC = gcc -Wall -ansi SOURCE = hud.cc FLAGS = -lGL -lGLU `sdl-config --cflags --libs` BINARY = hud all: $(CC) $(SOURCE) -o $(BINARY) $(FLAGS) clean: @echo Cleaning up... @rm $(BINARY) @echo Done.