summaryrefslogtreecommitdiffstats
path: root/private/mvdm/vdd/samples/sample2/16bits/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'private/mvdm/vdd/samples/sample2/16bits/makefile')
-rw-r--r--private/mvdm/vdd/samples/sample2/16bits/makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/private/mvdm/vdd/samples/sample2/16bits/makefile b/private/mvdm/vdd/samples/sample2/16bits/makefile
new file mode 100644
index 000000000..d394d22f1
--- /dev/null
+++ b/private/mvdm/vdd/samples/sample2/16bits/makefile
@@ -0,0 +1,42 @@
+# Makefile for 16bits module of third part apps making bop calls
+#
+
+########## 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.
+link_opts = /MAP
+LINK =link
+exelink =/E
+
+
+.asm.obj:
+ $(asm) $(ainc) $(aflags) $*.asm;
+
+.asm.lst:
+ $(asm) -l $(ainc) $(aflags) $*.asm;
+
+all: 16bits.exe
+
+clean:
+ if exist *.obj del *.obj
+ if exist *.exe del *.exe
+ if exist *.map del *.map
+ if exist *.sym del *.sym
+ if exist *.exe del *.exe
+
+16bits.exe: 16bits.obj
+ link16 $(link_opts) 16bits.obj, 16bits.exe, 16bits.map;
+
+16bits.obj: 16bits.inc