--- Makefile.orig	2000-04-19 15:17:30 UTC
+++ Makefile
@@ -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	?= ${LOCALBASE}
+INCDIR = -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include
+DESTDIR= ${PREFIX}
+LIBDIR = -L${LOCALBASE}/lib
 
 # for linux
 LIBS   = -lXpm -lX11 -lXext
