summaryrefslogtreecommitdiff
path: root/games/an/patches/patch-aa
blob: 4a134cc958fa0467e8c99afaab8d3fd894e9eb75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$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)