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