--- makefile.orig	Tue Apr 15 17:28:42 1997
+++ makefile	Fri Jul  3 14:46:50 1998
@@ -1,15 +1,15 @@
 # Makefile for pstoedit. 
 
-BINDIR=/home/sun11b/local/sun4/bin
-MANDIR=/home/sun11b/local/man
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man
 
 AWK=gawk
 
 
 # uncommment one of the following CCC lines for Un*x like systems
 # For users of GNU g++
-CCC=g++ -pedantic -Wall  -Wwrite-strings -Wcast-qual -O2
-CCC=g++ -pedantic -Wall  -Wwrite-strings -Wcast-qual -g
+CCC=g++ -pedantic -Wall  -Wwrite-strings -Wcast-qual ${CFLAGS}
+#CCC=g++ -pedantic -Wall  -Wwrite-strings -Wcast-qual -g
 # For Sun's SparcCompiler (You may need to change SCC4 to CC)
 #CCC=SCC4.1 +w 
 # CCC=CC-4.2 -xsb +w -g
@@ -18,7 +18,7 @@
 
 # rest of flags for Un*x systems
 LINK=$(CCC)
-CCFLAGS=-DDEFAULTGS=gs
+CCFLAGS=-DDEFAULTGS=${PREFIX}/bin/gs
 LDFLAGS=-lm
 INSTALL=cp
 OBJEXT=o
