mirror of https://github.com/AR1972/DOS3.3
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
551 B
38 lines
551 B
#** makefile for Boot
|
|
|
|
DEST = msboot
|
|
MSG = messages
|
|
|
|
# Path definitions
|
|
|
|
BIOS = ..\..\BIOS
|
|
DOS = ..\..\DOS
|
|
|
|
# Definitions for assembler
|
|
|
|
ASM = masm
|
|
AFLAGS = -Mx -t
|
|
AINC = -I..\..\inc
|
|
|
|
# Definitions for C compiler
|
|
|
|
CC = cl
|
|
CFLAGS = -Ox -Zlp
|
|
CINC = -I..\..\h
|
|
|
|
# Definitions for linker
|
|
|
|
LINK = link
|
|
LIBC = ..\..\libc
|
|
|
|
|
|
# Rules and Dependencies follow
|
|
|
|
msboot.obj: msboot.asm $(MSG).inc
|
|
masm $(AFLAGS) $(AINC) msboot;
|
|
|
|
msboot.bin: msboot.obj
|
|
LINK msboot;
|
|
EXE2BIN msboot.exe msboot.bin
|
|
DEL msboot.exe
|
|
DBOF msboot.bin boot.inc 7C00 200
|