blob: bc746ed77f9328e37611e04eb83ea303d2680ffd (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2000/10/25 08:40:00 jlam Exp $
BINDIR= ${PREFIX}/bin
LIBDIR= ${PREFIX}/lib/exchess
CPPFLAGS= -DEXCHESS_DIR=\"${LIBDIR}/\"
OBJS= attacks.o book.o check.o exmove.o hash.o main.o movelist.o
OBJS+= parse.o pcapts.o pmoves.o probe.o score.o search.o setup.o
OBJS+= sort.o swap.o util.o
all: exchess
exchess: ${OBJS}
${CXX} -o ${.TARGET} ${OBJS} -lm
install: exchess
${BSD_INSTALL_PROGRAM_DIR} ${BINDIR}
${BSD_INSTALL_PROGRAM} exchess ${BINDIR}
${BSD_INSTALL_DATA_DIR} ${LIBDIR}
${BSD_INSTALL_DATA} search.par ${LIBDIR}
.SUFFIXES: .cpp
.cpp.o:
${CXX} ${CXXFLAGS} ${CPPFLAGS} -c ${.IMPSRC}
|