rayzor
view 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 |
line source
1 baseobj = main.obj logger.obj screen.obj scrman.obj
2 modelobj = modeller.obj min3d.obj m3drast.obj lines.obj
3 rendobj = renderer.obj vmath.obj
4 scnobj = scene.obj object.obj
5 sysobj = gfx.obj vbe.obj dpmi.obj timer.obj mouse.obj keyb.obj
6 obj = $(baseobj) $(modelobj) $(rendobj) $(scnobj) $(sysobj)
7 bin = rayzor.exe
9 #dbg = -d2
11 CC = wcc386
12 CXX = wpp386
13 CFLAGS = $(dbg) -5 -fp5 -otexan -zq -bt=dos -Isrc\stl
14 CXXFLAGS = $(CFLAGS)
15 LD = wlink
17 $(bin): $(obj)
18 %write objects.lnk file { $(obj) }
19 $(LD) debug all name $@ @objects $(LDFLAGS)
21 .c: src\
22 .cc: src\
24 .c.obj: .autodepend
25 $(CC) $(CFLAGS) $[*
27 .cc.obj: .autodepend
28 $(CXX) $(CXXFLAGS) $[*
30 clean: .symbolic
31 del *.obj
32 del $(bin)