mirror of https://github.com/tongzx/nt5src
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.
47 lines
1.0 KiB
47 lines
1.0 KiB
# International mods
|
|
# NOTE: LANG is a external macros set by international
|
|
!IFNDEF LANG
|
|
RES_DIR=.\messages\usa
|
|
!ELSE
|
|
RES_DIR=.\messages\$(LANG)
|
|
!ENDIF
|
|
|
|
#
|
|
# Standard command line definitions
|
|
#
|
|
OPT= /W2 #NOP the options feature
|
|
as=masm
|
|
MASMOBJ=$(as) $(OPT)
|
|
#
|
|
# DOS 3.x inference rules
|
|
#
|
|
.asm.obj:
|
|
$(MASMOBJ) $*.asm;
|
|
|
|
.asm.lst:
|
|
$(as) $(OPT) /l $*.asm;
|
|
|
|
comm: comm.drv
|
|
|
|
ccom.obj ccom.lst: ccom.asm ibmcom.inc comdev.inc
|
|
|
|
ibmsetup.obj ibmsetup.lst: ibmsetup.asm ibmcom.inc comdev.inc ins8250.inc
|
|
|
|
ibmcom.obj: ibmcom.asm ibmcom.inc comdev.inc ins8250.inc
|
|
|
|
ibmint.obj: ibmint.asm ibmcom.inc comdev.inc ins8250.inc
|
|
|
|
ibmlpt.obj: ibmlpt.asm ibmcom.inc comdev.inc
|
|
|
|
commmsg.obj: $(RES_DIR)\commmsg.asm
|
|
$(MASMOBJ) $(RES_DIR)\commmsg.asm, commmsg.obj;
|
|
|
|
comm.drv: iclean ccom.obj ibmsetup.obj ibmcom.obj ibmint.obj ibmlpt.obj commmsg.obj \
|
|
comm.def comm.rc comm.rcv
|
|
link ccom+ibmsetup+ibmcom+ibmint+ibmlpt+commmsg,comm.drv,comm.map/map,libw /NOD /AL:16,comm.def
|
|
rc comm.rc comm.drv
|
|
mapsym comm
|
|
|
|
iclean:
|
|
del comm.drv
|
|
del commmsg.obj
|