File: Makefile

package info (click to toggle)
gnugo 1.2-5
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 220 kB
  • ctags: 87
  • sloc: ansic: 2,027; makefile: 74; sh: 2
file content (43 lines) | stat: -rw-r--r-- 675 bytes parent folder | download
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#---------------------------
# Makefile for GNUGO on UNIX
#
# Usage: make
#---------------------------

SRC = count.c \
      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 \
      sethand.c \
      showbord.c \
      showinst.c \
      suicide.c

PRG = gnugo

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

CFLAGS = -O

$(PRG) : $(OBJ)
	$(CC) $(OBJ) -o $@
	/bin/rm -f *.o

matchpat.o : patterns.h
$(OBJ) : gnugo.h