aboutsummaryrefslogtreecommitdiffstats
path: root/dosutil/Makefile
blob: 6a11f51c30d9d4066a202d222bf43f9195861497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# OpenWatcom compile and link utility
#
WCL           = wcl
WCLOPT_DOSCOM = -3 -osx -mt -bt=DOS -l=COM

UPX           = upx

%.com: %.c
	$(WCL) $(WCLOPT_DOSCOM) -fe=$@ $<
	$(UPX) --ultra-brute --lzma $@ || \
		$(UPX) --ultra-brute $@ || \
		true

all: mdiskchk.com

clean:
	rm -f *.o *.obj *.com *.sys