# program to play the game of Go (Wei-Chi)

SRC = count.o countlib.c endgame.c eval.c exambord.c findcolr.c \
      findnext.c findopen.c findpatn.c findsavr.c findwinr.c \
      fioe.c genmove.c getij.c getmove.c initmark.c main.c matchpat.c \
      opening.c openregn.c random.c seed.c sethand.c \
      showbord.c showinst.c suicide.c

PRG = gnugo
LINK = cc

OBJ = $(SRC:.c=.o)

CFLAGS = -+ -Oas

# For Tandy 16/6000 users, which library is gettimeofday installed "ln" or?
$(PRG) : $(OBJ)
	$(CC) $(CFLAGS) $(OBJ) -o $@ -ln -s

matchpat.o : patterns.c
