summaryrefslogtreecommitdiff
path: root/v4.0/src/CMD/FC/MAKEFILE
blob: 393a2bb1de57ae694e995c8cc5873156ba31ba7c (plain) (blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#**     makefile for fc

DEST	=fc
MSG	=messages

#	Path Definitions

BIOS	=..\..\BIOS
BOOT	=..\..\BOOT
dos	=..\..\DOS
inc	=..\..\INC
hinc	=..\..\h
H	=..\..\H

#	List of object files required

OBJ	= fc.obj \
	  error.obj \
	  fgetl.obj \
	  getl.obj \
	  itoupper.obj \
	  $(inc)\kstring.obj \
	  maxmin.obj \
	  move.obj \
	  ntoi.obj \
	  string.obj \
	  update.obj \
	  xtab.obj \
	  messages.obj

#       Rules and Dependencies follow

all:	$(DEST).exe

$(inc)\printf.obj: $(inc)\printf.asm

$(inc)\kstring.obj: $(inc)\kstring.c $(hinc)\internat.h

getl.obj: getl.asm $(inc)\cmacros.inc $(inc)\version.inc

itoupper.obj: itoupper.asm  $(inc)\cmacros.inc $(inc)\version.inc

maxmin.obj: maxmin.asm $(inc)\cmacros.inc $(inc)\version.inc

$(MSG).obj: $(MSG).asm

move.obj: move.asm $(inc)\cmacros.inc $(inc)\version.inc

string.obj: string.asm $(inc)\cmacros.inc $(inc)\version.inc

xtab.obj: xtab.asm $(inc)\cmacros.inc $(inc)\version.inc

error.obj: error.c tools.h ttypes.h

$(DEST).obj: $(DEST).c $(DEST).h tools.h ttypes.h

fgetl.obj: fgetl.c tools.h ttypes.h

ntoi.obj: ntoi.c tools.h ttypes.h

update.obj: update.c tools.h ttypes.h

$(DEST).exe: $(OBJ) $(DEST).lnk
	$(link) @$(DEST).lnk;