objs =	startup.obj main.obj btl3.obj  mars.obj  chipput.obj dispgem.obj\
		graph.obj vsync.obj mouse.obj cload.obj util_a.obj putsprit.obj\
		gput.obj sprite.obj mapproc.obj waku.obj spr.obj window.obj vars.obj\
		mcsrfont.obj palet.obj default.obj action.obj enemy.obj c_window.obj\
		siren.obj dwarf.obj wizard.obj



.asm.obj:
	masm /Mx /Zi /DDEBUG=1 /DMMODEL=0 $<; 

.c.obj:
	cl /c /J /AS /G1 /W3 /Zil /Oat /Gs /DDEBUG=1 $< 

btl3.exe: $(objs)
	link $(objs), $@, nul, ssys seglib /st:4000/NOD/noe/co;

