2 # OpenWatcom compile and link utility
5 include $(topdir
)/MCONFIG
8 WCLOPT
= -6 -osx
-mt
-bt
=DOS
-l
=COM
15 WCTARGETS
= mdiskchk.com
16 NSTARGETS
= eltorito.sys copybs.com
17 TARGETS
= $(WCTARGETS
) $(NSTARGETS
)
20 $(WCL
) $(WCLOPT
) -c
-fo
=$@
$<
23 $(WCL
) $(WCLOPT
) -fe
=$@
$<
24 $(UPX
) --ultra-brute
--lzma
$@ || \
25 $(UPX
) --ultra-brute
$@ || \
31 $(NASM
) $(NASMOPT
) -f bin
-o
$@
-l
$*.lst
$<
32 $(UPX
) --ultra-brute
--lzma
$@ || \
33 $(UPX
) --ultra-brute
$@ || \
39 $(NASM
) $(NASMOPT
) -f bin
-o
$@
-l
$*.lst
$<
40 $(UPX
) --ultra-brute
--lzma
$@ || \
41 $(UPX
) --ultra-brute
$@ || \
49 -rm -f
*.obj
*.lst
*.o
*.0*
54 -rm -f
$(NSTARGETS
) *~
59 mkdir
-m
755 -p
$(INSTALLROOT
)$(AUXDIR
)/dosutil
60 install -m
644 $(TARGETS
) $(INSTALLROOT
)$(AUXDIR
)/dosutil