summaryrefslogtreecommitdiff
path: root/finance/wmstock/files/patch-ab
blob: bde526c3a6362ae20c89bf04c273c379121b9f56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile	Wed Apr 19 11:17:30 2000
+++ Makefile.new	Sat May 20 01:34:48 2000
@@ -2,14 +2,15 @@
 # <mfischer@umr.edu>
 # based on wmWeather - see ../Credits for more information
 
-CC     = gcc
+CC     ?= gcc
 DEBUG  = -DMLF_DEBUG -DTIME_DEBUG
 GCOV   = -fprofile-arcs -ftest-coverage
 
 #standard, should work for most Linux/Solaris (may need to be changed for HP)
-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
-DESTDIR= /usr/X11R6
-LIBDIR = -L/usr/X11R6/lib
+X11BASE	?= /usr/X11R6
+INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include
+DESTDIR= ${PREFIX}
+LIBDIR = -L${X11BASE}/lib
 
 # for linux
 LIBS   = -lXpm -lX11 -lXext