openbsd-ports/games/agm/patches/patch-Makefile
2001-03-17 14:53:36 +00:00

26 lines
928 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2001/03/17 14:57:21 wilfried Exp $
--- Makefile.orig Wed Mar 18 02:02:29 1998
+++ Makefile Fri Mar 16 19:35:18 2001
@@ -49,7 +49,7 @@ WORDDIR=/usr/local/lib
# 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