deepstone

diff Makefile.bcc @ 0:f04884489bad

dos3d initial import
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 21 Nov 2011 06:14:01 +0200
parents
children 8c9a63a902d5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile.bcc	Mon Nov 21 06:14:01 2011 +0200
     1.3 @@ -0,0 +1,25 @@
     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 +bin = dos3d.exe
     1.9 +
    1.10 +CC = bcc
    1.11 +
    1.12 +# 286 instructions, large memory model
    1.13 +CFLAGS = -1 -f287 -ml -O -G -Isrc
    1.14 +
    1.15 +$(bin): $(obj)
    1.16 +	$(CC) @&&|
    1.17 +$(CFLAGS) -e$@
    1.18 +$(obj)
    1.19 +|
    1.20 +
    1.21 +.SUFFIXES: .c .obj
    1.22 +
    1.23 +.c.obj:
    1.24 +	$(CC) $(CFLAGS) -o$@ -c $<
    1.25 +
    1.26 +clean:
    1.27 +	del src\*.obj
    1.28 +	del $(bin)