rayzor

annotate Makefile @ 14:a9a948809c6f

starting the renderer screen, plus misc stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 13 Apr 2014 08:06:21 +0300
parents d94a69933a71
children be616b58df99
rev   line source
nuclear@10 1 baseobj = main.obj logger.obj screen.obj scrman.obj swapbuf.obj
nuclear@9 2 modelobj = modeller.obj min3d.obj m3drast.obj lines.obj
nuclear@9 3 rendobj = renderer.obj vmath.obj
nuclear@13 4 scnobj = scene.obj object.obj light.obj camera.obj snode.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@10 9 opt = -5 -fp5 -otexan
nuclear@10 10 dbg = -d1
nuclear@6 11
nuclear@10 12 AS = nasm
nuclear@0 13 CC = wcc386
nuclear@0 14 CXX = wpp386
nuclear@10 15 ASFLAGS = -fobj
nuclear@10 16 CFLAGS = $(dbg) $(opt) -zq -bt=dos -Isrc\stl
nuclear@0 17 CXXFLAGS = $(CFLAGS)
nuclear@0 18 LD = wlink
nuclear@0 19
nuclear@0 20 $(bin): $(obj)
nuclear@0 21 %write objects.lnk file { $(obj) }
nuclear@6 22 $(LD) debug all name $@ @objects $(LDFLAGS)
nuclear@0 23
nuclear@10 24 .c: src
nuclear@10 25 .cc: src
nuclear@10 26 .asm: src
nuclear@0 27
nuclear@0 28 .c.obj: .autodepend
nuclear@0 29 $(CC) $(CFLAGS) $[*
nuclear@0 30
nuclear@0 31 .cc.obj: .autodepend
nuclear@0 32 $(CXX) $(CXXFLAGS) $[*
nuclear@0 33
nuclear@10 34 .asm.obj:
nuclear@10 35 $(AS) $(ASFLAGS) -o $@ $[*.asm
nuclear@10 36
nuclear@0 37 clean: .symbolic
nuclear@0 38 del *.obj
nuclear@0 39 del $(bin)