all: install.exe

cwsetup.obj: cwsetup.c cwinst.h
	cl -c -Ows -Gsw -Zpe -W2 cwsetup.c

install.obj: install.c cwinst.h
	cl -c -Ows -Gsw -Zpe -W2 install.c

protect.obj: protect.c
	cl -c -Ows -Gsw -Zpe -W2 protect.c

biossum.obj: biossum.asm
	masm biossum.asm;

install.res: install.rc cwinst.dlg cwinst.h cwinst.ico
	rc -r -v install.rc

install.exe: cwsetup.obj install.obj protect.obj biossum.obj install.res install.def
	link /NOD install cwsetup protect biossum,,,libw slibcew ewtdebug,install.def
	rc -v install.res
