diff options
Diffstat (limited to 'private/mvdm/vdd/samples/sample1/fax16/makefile')
-rw-r--r-- | private/mvdm/vdd/samples/sample1/fax16/makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/private/mvdm/vdd/samples/sample1/fax16/makefile b/private/mvdm/vdd/samples/sample1/fax16/makefile new file mode 100644 index 000000000..640ae45d7 --- /dev/null +++ b/private/mvdm/vdd/samples/sample1/fax16/makefile @@ -0,0 +1,41 @@ +# Makefile for fax16 stub device driver + +!IFNDEF BUILDMSG +BUILDMSG= +!ENDIF + +########## Path definition so we find 16 bit tools ########## +# Also works around stupid bug in RC 3.1 that doesn't allow rcpp.err to be +# in a directory that is greater than 128 chars down the path, even if +# rc 3.1 is running as an OS/2 app. + +PATH = $(_NTBINDIR)\private\mvdm\tools16;$(PATH) + +.SUFFIXES: +.SUFFIXES: .c .obj .lst .exe .exc .exs .com .sal .cod .sil .inc .skl .cla .cl1 .ctl .asm .idx .msg + +MAKE =nmake +asm =masm +awarn =-W1 +aflags =-Mx -t $(awarn) $(extasw) +ainc =-I. -I$(_NTBINDIR)\public\sdk\inc + + +.asm.obj: + $(asm) $(ainc) $(aflags) $*.asm; + +.asm.lst: + $(asm) -l $(ainc) $(aflags) $*.asm; + +all: fax16.sys + +clean: + if exist *.obj del *.obj + if exist *.exe del *.exe + if exist *.map del *.map + if exist *.sym del *.sym + if exist *.sys del *.sys + +fax16.sys: fax16.obj + link16 fax16; + exe2bin fax16.exe fax16.sys |