deepstone

annotate 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
rev   line source
nuclear@0 1 .AUTODEPEND
nuclear@0 2
nuclear@0 3 obj = src\test.obj src\vga.obj src\timer.obj src\mouse.obj \
nuclear@0 4 src\mingl.obj src\mglrast.obj src\mglgen.obj
nuclear@0 5 bin = dos3d.exe
nuclear@0 6
nuclear@0 7 CC = bcc
nuclear@0 8
nuclear@0 9 # 286 instructions, large memory model
nuclear@0 10 CFLAGS = -1 -f287 -ml -O -G -Isrc
nuclear@0 11
nuclear@0 12 $(bin): $(obj)
nuclear@0 13 $(CC) @&&|
nuclear@0 14 $(CFLAGS) -e$@
nuclear@0 15 $(obj)
nuclear@0 16 |
nuclear@0 17
nuclear@0 18 .SUFFIXES: .c .obj
nuclear@0 19
nuclear@0 20 .c.obj:
nuclear@0 21 $(CC) $(CFLAGS) -o$@ -c $<
nuclear@0 22
nuclear@0 23 clean:
nuclear@0 24 del src\*.obj
nuclear@0 25 del $(bin)