diff options
Diffstat (limited to 'v4.0/src/DEV/RAMDRIVE/MAKEFILE')
| -rw-r--r-- | v4.0/src/DEV/RAMDRIVE/MAKEFILE | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/v4.0/src/DEV/RAMDRIVE/MAKEFILE b/v4.0/src/DEV/RAMDRIVE/MAKEFILE new file mode 100644 index 0000000..c61e83e --- /dev/null +++ b/v4.0/src/DEV/RAMDRIVE/MAKEFILE | |||
| @@ -0,0 +1,36 @@ | |||
| 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 | ||