summaryrefslogtreecommitdiff
path: root/v4.0/src/DEV/RAMDRIVE/MAKEFILE
blob: c61e83ee44feca34c04af7167dc9dea4f5bc5577 (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
#**     makefile for Ramdrive

DEST	= ramdrive
MSG	= messages

#       Definitions for assembler

ASM	= masm
AFLAGS	= -Mx -t
AINC	= -I../../inc

#       Definitions for C compiler

CC	= cl
CFLAGS	= -Ox -X -Zlp
CINC	= -I../../h

#	Definitions for linker

LINK	= link

# Dependencies follow

all: ramdrive.sys

ramdrive.obj: ramdrive.asm above.inc loadall.inc emm.inc mi.inc \
	 dirent.inc syscall.inc devsym.inc
	masm $(AFLAGS) $(AINC) ramdrive;

messages.obj:  messages.asm
	masm $(AFLAGS) $(AINC) messages;

ramdrive.sys: ramdrive.obj messages.obj
	link @ramdrive.lnk
	exe2bin ramdrive ramdrive.sys
	del ramdrive.exe