File: Makefile.bcc

package info (click to toggle)
mancala 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 196 kB
  • ctags: 104
  • sloc: ansic: 710; makefile: 67; sh: 6
file content (36 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (8)
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
PROG      = mancala
EXE       = exe

CC        = bcc
RM        = del

CMODEL    = s
AMODEL    = SMALL

OPTIM     = -G -O2 -vi -a -k- -N-
CPU       = -3

CCOPT     = -c -d -m$(CMODEL) $(OPTIM) $(CPU)
LDOPT     = -m$(CMODEL) $(DEBUG)

LIBS      =
OBJS      = minimax.obj textmain.obj


.AUTODEPEND



$(PROG).$(EXE): $(PROG).obj $(OBJS)
    $(CC) $(LDOPT) -e$(PROG) $(PROG).obj $(OBJS) $(LIBS)

clean:
    $(RM) *.obj
    $(RM) *.bak

veryclean: clean
    $(RM) $(PROG).$(EXE)


.c.obj:
    $(CC) $(CCOPT) {$< }