blob: 062100b2b3aa647774a4b5c0d6a13ef1bf343335 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- 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
|