3 --- Makefile.orig Thu Feb 10 01:06:23 2000
4 +++ Makefile Thu Dec 21 09:40:35 2000
7 # Set the configuration variables below to taste.
9 -PCALINIT_CC = /bin/cc # native compiler
10 -CC = /bin/cc # cross-compiler (if target != host)
11 +PCALINIT_CC = ${CC} # native compiler
12 +CC = ${HOST_CC} # cross-compiler (if target != host)
14 # Set COMPRESS to your preferred compression utility (compress, gzip, etc.),
15 # Z to the file suffix that it generates (.Z, .gz, etc.), and UUC to the file
19 # directories for installing executable and man page(s)
20 -BINDIR = /usr/local/bin
21 -MANDIR = /usr/man/man1
22 -CATDIR = /usr/man/cat1
23 +BINDIR = ${PREFIX}/bin
24 +MANDIR = ${PREFIX}/man/man1
25 +CATDIR = ${PREFIX}/cat1
27 OBJECTS = pcal.o exprpars.o moonphas.o pcalutil.o readfile.o writefil.o
30 $(D_TEXT) $(D_LINK) $(D_ALINK) $(D_VLINK) \
31 $(D_HOLIDAY_PRE) $(D_HOLIDAY_POST) $(D_BLANK_STYLE) \
34 +.if defined(PAPERSIZE) && $(PAPERSIZE) == A4 # default Letter (OK?)
39 $(CC) $(LDFLAGS) -o $(PCAL) $(OBJECTS) -lm