--- Makefile.orig 2002-01-06 02:09:37.000000000 +0100 +++ Makefile 2004-09-14 22:03:45.525993936 +0200 @@ -9,12 +9,12 @@ # User-definable stuff: -CFLAGS=-Wall -O2 +#CFLAGS=-Wall -O2 #DATA_PREFIX=$(PWD)/data/ -PREFIX=/usr/local -MAN_PREFIX=$(PREFIX) -BIN_PREFIX=$(PREFIX)/bin -DATA_PREFIX=$(PREFIX)/share/defendguin/ +PREFIX=/usr/share +MAN_PREFIX=$(PREFIX)/man +BIN_PREFIX=/usr/games/bin +DATA_PREFIX=$(PREFIX)/games/defendguin/ JOY=YES @@ -24,7 +24,7 @@ SDL_LDFLAGS := $(shell sdl-config --libs) -L/usr/X11R6/lib MIXER=-lSDL_mixer NOSOUNDFLAG=__SOUND -CFLAGS=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) \ +CFLAGS+=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) \ -DJOY_$(JOY) SDL_LIB=$(SDL_LDFLAGS) $(MIXER)