rayzor

annotate Makefile @ 6:a68dbf80d547

finally showing something ... :)
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 07 Apr 2014 06:04:11 +0300
parents 9035507275d6
children 70e332156d02
rev   line source
nuclear@3 1 modelobj = main.obj min3d.obj m3drast.obj logger.obj
nuclear@0 2 rendobj = rend.obj vmath.obj
nuclear@0 3 scnobj = scene.obj object.obj
nuclear@0 4 sysobj = gfx.obj vbe.obj dpmi.obj timer.obj mouse.obj keyb.obj
nuclear@0 5 obj = $(modelobj) $(rendobj) $(scnobj) $(sysobj)
nuclear@0 6 bin = rayzor.exe
nuclear@0 7
nuclear@6 8 #dbg = -d2
nuclear@6 9
nuclear@0 10 CC = wcc386
nuclear@0 11 CXX = wpp386
nuclear@6 12 CFLAGS = $(dbg) -5 -fp5 -otexan -zq -bt=dos -Isrc\stl
nuclear@0 13 CXXFLAGS = $(CFLAGS)
nuclear@0 14 LD = wlink
nuclear@0 15
nuclear@0 16 $(bin): $(obj)
nuclear@0 17 %write objects.lnk file { $(obj) }
nuclear@6 18 $(LD) debug all name $@ @objects $(LDFLAGS)
nuclear@0 19
nuclear@0 20 .c: src\
nuclear@0 21 .cc: src\
nuclear@0 22
nuclear@0 23 .c.obj: .autodepend
nuclear@0 24 $(CC) $(CFLAGS) $[*
nuclear@0 25
nuclear@0 26 .cc.obj: .autodepend
nuclear@0 27 $(CXX) $(CXXFLAGS) $[*
nuclear@0 28
nuclear@0 29 clean: .symbolic
nuclear@0 30 del *.obj
nuclear@0 31 del $(bin)