dos3d

diff firstp/Makefile.bcc @ 14:be61704c4cc8

added initial firstp
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 29 Nov 2011 07:22:49 +0200
parents
children c10f62b2bd56
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/firstp/Makefile.bcc	Tue Nov 29 07:22:49 2011 +0200
     1.3 @@ -0,0 +1,26 @@
     1.4 +.AUTODEPEND
     1.5 +
     1.6 +obj = src\test.obj src\vga.obj src\timer.obj src\mouse.obj \
     1.7 +	  src\mingl.obj src\mglrast.obj src\mglgen.obj \
     1.8 +	  src\texture.obj src\palman.obj
     1.9 +bin = dos3d.exe
    1.10 +
    1.11 +CC = bcc
    1.12 +
    1.13 +# 286 instructions, large memory model
    1.14 +CFLAGS = -1 -f287 -ml -O -G -Isrc
    1.15 +
    1.16 +$(bin): $(obj)
    1.17 +	$(CC) @&&|
    1.18 +$(CFLAGS) -e$@
    1.19 +$(obj)
    1.20 +|
    1.21 +
    1.22 +.SUFFIXES: .c .obj
    1.23 +
    1.24 +.c.obj:
    1.25 +	$(CC) $(CFLAGS) -o$@ -c $<
    1.26 +
    1.27 +clean:
    1.28 +	del src\*.obj
    1.29 +	del $(bin)