nuclear@3: modelobj = main.obj min3d.obj m3drast.obj logger.obj nuclear@0: rendobj = rend.obj vmath.obj nuclear@0: scnobj = scene.obj object.obj nuclear@0: sysobj = gfx.obj vbe.obj dpmi.obj timer.obj mouse.obj keyb.obj nuclear@0: obj = $(modelobj) $(rendobj) $(scnobj) $(sysobj) nuclear@0: bin = rayzor.exe nuclear@0: nuclear@6: #dbg = -d2 nuclear@6: nuclear@0: CC = wcc386 nuclear@0: CXX = wpp386 nuclear@6: CFLAGS = $(dbg) -5 -fp5 -otexan -zq -bt=dos -Isrc\stl nuclear@0: CXXFLAGS = $(CFLAGS) nuclear@0: LD = wlink nuclear@0: nuclear@0: $(bin): $(obj) nuclear@0: %write objects.lnk file { $(obj) } nuclear@6: $(LD) debug all name $@ @objects $(LDFLAGS) nuclear@0: nuclear@0: .c: src\ nuclear@0: .cc: src\ nuclear@0: nuclear@0: .c.obj: .autodepend nuclear@0: $(CC) $(CFLAGS) $[* nuclear@0: nuclear@0: .cc.obj: .autodepend nuclear@0: $(CXX) $(CXXFLAGS) $[* nuclear@0: nuclear@0: clean: .symbolic nuclear@0: del *.obj nuclear@0: del $(bin)