--- Makefile.orig Tue Feb 12 00:49:11 2002 +++ Makefile Fri Jul 12 20:48:40 2002 @@ -5,14 +5,14 @@ # paths to locations where the pnm2ppa binary, the configuration file, # and the man page should be installed. On some systems (like Solaris) # the install command requires the syntax BINDIR="-f /usr/local/bin". -BINDIR="/usr/local/bin" -CONFDIR="/etc" -MANDIR="/usr/local/man/man1" +BINDIR="${PREFIX}/bin" +CONFDIR="${PREFIX}/etc" +MANDIR="${PREFIX}/man/man1" #compiler and linker options: -CC=gcc -CFLAGS=-Wall -pedantic -O2 -g -LDFLAGS=-lm +CC?=gcc +CFLAGS+=-DCONFDIR=\"$(CONFDIR)\" -I${LOCALBASE}/include +LDFLAGS=-lm -L${LOCALBASE}/lib -lgnugetopt INSTALL=install # Install under Linux and other versions with the -b (backup) option