--- btnlib/makefile.orig	Wed Dec  6 14:51:17 1995
+++ btnlib/makefile	Thu Sep 24 15:54:53 1998
@@ -8,7 +8,7 @@
 # the library would build.  It is preferable to build btnlib as part of the
 # make procedure in the parent SAOimage directory.
 
-CFLAGS  = -c -O
+CFLAGS  += -c -I${LOCALBASE}/include
 
 LINT   = lint
 RANLIB = ranlib
@@ -27,7 +27,7 @@
 	press.o		remote.o	resize.o	util.o
 
 LIB	= libbtn.a
-XLIBH	= /usr/include/X11/Xlib.h
+XLIBH	= ${LOCALBASE}/include/X11/Xlib.h
 #XLIBH = /usr/openwin/share/include/X11/Xlib.h  #for OpenWindows
 
 all:	$(LIB)