summaryrefslogtreecommitdiffstats
path: root/private/mvdm/v86/util/makefile
blob: 31b26fc0bc8000c7db275b62dfba26354c70d0d4 (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
!IF 0
Copyright (c) 1989  Microsoft Corporation

Module Name:

    makefile

Abstract:

    This file controls the creation of the utilities

Author:

    Dave Hastings (daveh) 25-Apr-1991

!ENDIF

########## Path definition so we find 16 bit tools ##########
# Also works around stupid bug in RC 3.1 that doesn't allow rcpp.err to be
# in a directory that is greater than 128 chars down the path, even if
# rc 3.1 is running as an OS/2 app.

PATH    = $(_NTBINDIR)\private\mvdm\tools16;$(PATH)

.SUFFIXES:
.SUFFIXES: .asm .inc .obj .lst .exe .com .map .sym

MASM = masm
AINC = -I. -I..\inc -I..\..\inc
AFLAGS = -Ml

LFLAGS = 
LIB = 

RELOC = reloc

# rules

.asm.obj :
        $(MASM) $(AFLAGS) $(AINC) $*.asm, $*.obj;

.asm.lst :
        $(MASM) $(AFLAGS) $(AINC) -l $*.asm, $*.obj;
        
.obj.exe :
        link16 $(LFLAGS) $*,,,$(LIB);

.exe.com :
        $(RELOC) $*.exe $*.com

# dependencies

all: quit.com

quit.com : quit.exe
quit.obj : quit.asm ..\..\inc\bop.inc