rayzor
view Makefile @ 6:a68dbf80d547
finally showing something ... :)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 07 Apr 2014 06:04:11 +0300 |
parents | 9035507275d6 |
children | 70e332156d02 |
line source
1 modelobj = main.obj min3d.obj m3drast.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 #dbg = -d2
10 CC = wcc386
11 CXX = wpp386
12 CFLAGS = $(dbg) -5 -fp5 -otexan -zq -bt=dos -Isrc\stl
13 CXXFLAGS = $(CFLAGS)
14 LD = wlink
16 $(bin): $(obj)
17 %write objects.lnk file { $(obj) }
18 $(LD) debug all name $@ @objects $(LDFLAGS)
20 .c: src\
21 .cc: src\
23 .c.obj: .autodepend
24 $(CC) $(CFLAGS) $[*
26 .cc.obj: .autodepend
27 $(CXX) $(CXXFLAGS) $[*
29 clean: .symbolic
30 del *.obj
31 del $(bin)