rayzor
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Makefile Sat Apr 05 08:46:27 2014 +0300 1.3 @@ -0,0 +1,29 @@ 1.4 +modelobj = main.obj min3d.obj logger.obj 1.5 +rendobj = rend.obj vmath.obj 1.6 +scnobj = scene.obj object.obj 1.7 +sysobj = gfx.obj vbe.obj dpmi.obj timer.obj mouse.obj keyb.obj 1.8 +obj = $(modelobj) $(rendobj) $(scnobj) $(sysobj) 1.9 +bin = rayzor.exe 1.10 + 1.11 +CC = wcc386 1.12 +CXX = wpp386 1.13 +CFLAGS = -5 -fp5 -otexan -zq -bt=dos -Isrc\stl 1.14 +CXXFLAGS = $(CFLAGS) 1.15 +LD = wlink 1.16 + 1.17 +$(bin): $(obj) 1.18 + %write objects.lnk file { $(obj) } 1.19 + $(LD) name $@ @objects $(LDFLAGS) 1.20 + 1.21 +.c: src\ 1.22 +.cc: src\ 1.23 + 1.24 +.c.obj: .autodepend 1.25 + $(CC) $(CFLAGS) $[* 1.26 + 1.27 +.cc.obj: .autodepend 1.28 + $(CXX) $(CXXFLAGS) $[* 1.29 + 1.30 +clean: .symbolic 1.31 + del *.obj 1.32 + del $(bin)