--- Makefile.orig 2009-05-29 07:45:20.000000000 +0400 +++ Makefile 2009-05-29 17:39:12.000000000 +0400 @@ -15,19 +15,18 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -prefix = /usr/local +prefix = ${PREFIX} exec_prefix = $(prefix) datarootdir = $(prefix)/share pkgdatadir = $(datarootdir)/vor bindir = $(exec_prefix)/bin -CFLAGS := -Wall -O3 LDFLAGS := paths := -DDATA_PREFIX=\"$(pkgdatadir)\" -sdl-cflags := $(shell sdl-config --cflags) -sdl-ldflags := $(shell sdl-config --libs) +sdl-cflags := $(shell $(SDL_CONFIG) --cflags) +sdl-ldflags := $(shell $(SDL_CONFIG) --libs) ldflags := $(sdl-ldflags) -lSDL_image -lSDL_mixer $(LDFLAGS) cflags := $(sdl-cflags) $(paths) $(CFLAGS)