--- Makefile.orig	Sun Dec 14 20:43:35 1997
+++ Makefile	Sun Aug 29 20:28:11 1999
@@ -8,22 +8,22 @@
 ###################
 
 # change this to your favorite ANSI C compiler
-CC = gcc
+CC? = gcc
 
 # change this to the directory where you want the xtris binaries installed
-BINDIR = /usr/local/bin
+BINDIR = ${PREFIX}/bin
 
 # change this to the directory where you want the xtris manpages installed
-MANDIR = /usr/local/man
+MANDIR = ${PREFIX}/man
 
 # change according to taste and local custom...
-CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__
+CFLAGS += -D__USE_FIXED_PROTOTYPES__ -I${PREFIX}/include
 
 # on Solaris and similar systems, you'll need to uncomment this:
 # EXTRALIBS = -lnsl -lsocket 
 
 # specify X11 libdir if your system needs it
-# XLIBDIR = -L/usr/X11/lib
+XLIBDIR = -L${PREFIX}/lib
 
 
 ###########################################################################
