Index: beret-1.2.1+20130311/Makefile =================================================================== --- beret-1.2.1+20130311/Makefile +++ beret-1.2.1+20130311/Makefile 2015-01-23 22:55:29.418265902 +0100 @@ -1,5 +1,5 @@ -CFLAGS := $(shell sdl-config --cflags) -Wall -g -LDLIBS := $(shell sdl-config --libs) -lSDLmain -lSDL_image -lSDL_ttf -lSDL_mixer +CFLAGS := $(shell sdl-config --cflags) -Wall -g $(OPTFLAGS) +LDLIBS := $(shell sdl-config --libs) $(LDFLAGS) -lm -lSDL_image -lSDL_ttf -lSDL_mixer default: beret