rayzor

annotate Makefile @ 0:2a5340a6eee4

rayzor first commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Apr 2014 08:46:27 +0300
parents
children 9035507275d6
rev   line source
nuclear@0 1 modelobj = main.obj min3d.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@0 8 CC = wcc386
nuclear@0 9 CXX = wpp386
nuclear@0 10 CFLAGS = -5 -fp5 -otexan -zq -bt=dos -Isrc\stl
nuclear@0 11 CXXFLAGS = $(CFLAGS)
nuclear@0 12 LD = wlink
nuclear@0 13
nuclear@0 14 $(bin): $(obj)
nuclear@0 15 %write objects.lnk file { $(obj) }
nuclear@0 16 $(LD) name $@ @objects $(LDFLAGS)
nuclear@0 17
nuclear@0 18 .c: src\
nuclear@0 19 .cc: src\
nuclear@0 20
nuclear@0 21 .c.obj: .autodepend
nuclear@0 22 $(CC) $(CFLAGS) $[*
nuclear@0 23
nuclear@0 24 .cc.obj: .autodepend
nuclear@0 25 $(CXX) $(CXXFLAGS) $[*
nuclear@0 26
nuclear@0 27 clean: .symbolic
nuclear@0 28 del *.obj
nuclear@0 29 del $(bin)