--- Makefile.orig Mon May 24 22:19:40 1999 +++ Makefile Fri Nov 24 14:47:40 2006 @@ -1,7 +1,7 @@ # Add -I and -L options as necessary to make it find your X stuff.... #DESTDIR = /opt/blockade -DESTDIR = /usr/local +DESTDIR = $(PREFIX) BINDIR = $(DESTDIR)/bin MANDIR = $(DESTDIR)/man/man6 @@ -22,8 +22,8 @@ #LDFLAGS = -s -L/usr/lib/X11R4 -lX11 # Linux -CFLAGS = -DSYSV -I/usr/include/X11 -Wall -LDFLAGS = -L/usr/X11R6/lib -lX11 +CFLAGS += -I$(LOCALBASE)/include +LDFLAGS = -L$(LOCALBASE)/lib -lX11 SOUND = blockade-snd.o SOUNDH = blockade-snd.h