8aa9f1f71e
from Bryan Linton <bl at shoshoni dot info>
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
$OpenBSD: patch-Makefile,v 1.2 2007/12/10 07:00:41 ajacoutot Exp $
|
|
--- Makefile.orig Wed Mar 18 02:02:29 1998
|
|
+++ Makefile Mon Dec 10 07:57:56 2007
|
|
@@ -45,11 +45,11 @@ BINDIR=/usr/local/bin
|
|
#MANDIR=../../man
|
|
MANDIR=/usr/local/man
|
|
# Location of the word file
|
|
-WORDDIR=/usr/local/lib
|
|
+WORDDIR=/usr/share/dict
|
|
# Name of the default wordfile
|
|
WORDFILE=-DWORDFILE=\"$(WORDDIR)/words\"
|
|
# C compiler
|
|
-CC=cc
|
|
+#CC=cc
|
|
# Optimization or other flags for C compiler
|
|
CCFLAGS=-O
|
|
#CCFLAGS=-g
|
|
@@ -65,10 +65,10 @@ dist: agm-1.3.1.tar.gz
|
|
doc: agm.ps
|
|
|
|
agm: main.o process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o progress.o
|
|
- $(CC) $(CCFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) -o agm main.o process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o progress.o
|
|
+ $(CC) $(CFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) -o agm main.o process.o listfuncs.o wordfuncs.o gobble.o sort.o output.o progress.o
|
|
|
|
.c.o:
|
|
- $(CC) -c $(CCFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) $<
|
|
+ $(CC) -c $(CFLAGS) $(DEFINES) $(RELEASE) $(WORDFILE) $<
|
|
|
|
main.o: main.c agm.h
|
|
|