2 # OpenWatcom compile and link utility
6 include $(MAKEDIR
)/syslinux.mk
9 WCLOPT
= -6 -osx
-mt
-bt
=DOS
-l
=COM
16 WCTARGETS
= mdiskchk.com
17 NSTARGETS
= eltorito.sys copybs.com
18 TARGETS
= $(WCTARGETS
) $(NSTARGETS
)
21 $(WCL
) $(WCLOPT
) -c
-fo
=$@
$<
24 $(WCL
) $(WCLOPT
) -fe
=$@
$<
25 $(UPX
) --ultra-brute
--lzma
$@ || \
26 $(UPX
) --ultra-brute
$@ || \
32 $(NASM
) $(NASMOPT
) -f bin
-o
$@
-l
$*.lst
$<
33 $(UPX
) --ultra-brute
--lzma
$@ || \
34 $(UPX
) --ultra-brute
$@ || \
40 $(NASM
) $(NASMOPT
) -f bin
-o
$@
-l
$*.lst
$<
41 $(UPX
) --ultra-brute
--lzma
$@ || \
42 $(UPX
) --ultra-brute
$@ || \
50 -rm -f
*.obj
*.lst
*.o
*.0*
55 -rm -f
$(NSTARGETS
) *~
60 mkdir
-m
755 -p
$(INSTALLROOT
)$(AUXDIR
)/dosutil
61 install -m
644 $(TARGETS
) $(INSTALLROOT
)$(AUXDIR
)/dosutil