rayzor

annotate Makefile @ 9:70e332156d02

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