blob: cce3b83b0295c44e6e0f1d2e498d707418e8f4ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-aa,v 1.1.1.1 2000/10/24 20:08:13 jlam Exp $
--- Makefile.orig Sun Aug 6 19:17:39 2000
+++ Makefile
@@ -1,7 +1,8 @@
-CFLAGS=-I . -Wall -O3
+CFLAGS+=-I . -Wall -DPREFIX=\"${PREFIX}\"
-chess: chess.o moves.o comp.o tactics.o checks.o misc.o mprocs.o eval.o
- gcc -o chess chess.o comp.o tactics.o moves.o checks.o misc.o mprocs.o eval.o -lm
+all: colchess
+colchess: chess.o moves.o comp.o tactics.o checks.o misc.o mprocs.o eval.o
+ $(CC) -o colchess chess.o comp.o tactics.o moves.o checks.o misc.o mprocs.o eval.o -lm
chess.o: chess.h chess.c moves.h misc.h comp.h checks.h mprocs.h eval.h
moves.o: moves.c moves.h chess.h checks.h
comp.o: comp.c comp.h tactics.h checks.h chess.h moves.h misc.h eval.h mprocs.h
|