$NetBSD: patch-aa,v 1.1.1.1 2002/03/06 01:29:20 jonb Exp $ --- Makefile.orig Mon Mar 4 16:58:11 2002 +++ Makefile @@ -22,12 +22,12 @@ # Change these variables to suit your system -INSTALLDIR=/usr/games -MANDIR=/usr/man/man6 +INSTALLDIR=$(PREFIX)/bin +MANDIR=$(PREFIX)/man/man6 # Note that if you change CC here you must also change it in ./lib/Makefile -CC=gcc +#CC=gcc # if using a compiler which adheres strictly to ANSI C guidelines then # uncomment the next line. @@ -44,6 +44,8 @@ GETOPT=$(LIBDIR)/getopt.o $(LIBDIR)/getopt1.o MAN=an.6 + +all: $(BIN) $(MAN) $(BIN): $(OBJS) $(CC) $(CFLAGS) -o $(BIN) $(OBJS)