]> wirehaze git hosting - MS-DOS.git/blob - v4.0/src/DEV/RAMDRIVE/MAKEFILE

wirehaze git hosting

MZ is back!
[MS-DOS.git] / v4.0 / src / DEV / RAMDRIVE / MAKEFILE
1 #** makefile for Ramdrive
2
3 DEST = ramdrive
4 MSG = messages
5
6 # Definitions for assembler
7
8 ASM = masm
9 AFLAGS = -Mx -t
10 AINC = -I../../inc
11
12 # Definitions for C compiler
13
14 CC = cl
15 CFLAGS = -Ox -X -Zlp
16 CINC = -I../../h
17
18 # Definitions for linker
19
20 LINK = link
21
22 # Dependencies follow
23
24 all: ramdrive.sys
25
26 ramdrive.obj: ramdrive.asm above.inc loadall.inc emm.inc mi.inc \
27 dirent.inc syscall.inc devsym.inc
28 masm $(AFLAGS) $(AINC) ramdrive;
29
30 messages.obj: messages.asm
31 masm $(AFLAGS) $(AINC) messages;
32
33 ramdrive.sys: ramdrive.obj messages.obj
34 link @ramdrive.lnk
35 exe2bin ramdrive ramdrive.sys
36 del ramdrive.exe