CC = gcc -Wall -ansi SOURCE = hud_tga.cc FLAGS = -lGL -lGLU SDL = `sdl-config --cflags --libs` INCLUDES = -I/usr/include/SDL -L/usr/lib BINARY = hud_tga all: $(CC) $(SOURCE) -o $(BINARY) $(FLAGS) $(SDL) $(INCLUDES) clean: @echo Cleaning up... @rm $(BINARY) @echo Done.