deepstone

annotate Makefile.bcc @ 14:be61704c4cc8

added initial firstp
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 29 Nov 2011 07:22:49 +0200
parents 8c9a63a902d5
children 9c23bfe10745
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@2 4 src\mingl.obj src\mglrast.obj src\mglgen.obj \
nuclear@3 5 src\texture.obj src\palman.obj
nuclear@0 6 bin = dos3d.exe
nuclear@0 7
nuclear@0 8 CC = bcc
nuclear@0 9
nuclear@0 10 # 286 instructions, large memory model
nuclear@0 11 CFLAGS = -1 -f287 -ml -O -G -Isrc
nuclear@0 12
nuclear@0 13 $(bin): $(obj)
nuclear@0 14 $(CC) @&&|
nuclear@0 15 $(CFLAGS) -e$@
nuclear@0 16 $(obj)
nuclear@0 17 |
nuclear@0 18
nuclear@0 19 .SUFFIXES: .c .obj
nuclear@0 20
nuclear@0 21 .c.obj:
nuclear@0 22 $(CC) $(CFLAGS) -o$@ -c $<
nuclear@0 23
nuclear@0 24 clean:
nuclear@0 25 del src\*.obj
nuclear@0 26 del $(bin)