--- Makefile.orig Sun Oct 6 10:27:36 2002 +++ Makefile Mon Nov 18 21:08:50 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 -LDFLAGS=-lm +CC?=gcc +CFLAGS+=-DCONFDIR=\"$(CONFDIR)\" +LDFLAGS+=-lm INSTALL=install # Install under Linux and other versions with the -b (backup) option