aboutsummaryrefslogtreecommitdiff
path: root/astro/saoimage/files/patch-btnlib_makefile
blob: d65f0aad01c0e801ac356f3466fe44fe41b55e33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- btnlib/makefile.orig	1995-12-06 20:51:17 UTC
+++ btnlib/makefile
@@ -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 @@ OBJS =	attach.o	draw.o		event.o		border.
 	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)