deepstone

view Makefile.bcc @ 20:9c23bfe10745

optimization flags in the makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 21 Sep 2013 16:40:31 +0300
parents 0e781cc43178
children
line source
1 .AUTODEPEND
3 obj = src\test.obj src\vga.obj src\timer.obj src\mouse.obj \
4 src\mingl.obj src\mglrast.obj src\mglgen.obj \
5 src\texture.obj src\palman.obj
6 bin = dos3d.exe
8 CC = bcc
10 # 386 instructions, x87 fpu code, large memory model, optimize for speed
11 CFLAGS = -3 -f287 -ml -O2 -G -Isrc
13 $(bin): $(obj)
14 $(CC) @&&|
15 $(CFLAGS) -e$@
16 $(obj)
17 |
19 .SUFFIXES: .c .obj
21 .c.obj:
22 $(CC) $(CFLAGS) -o$@ -c $<
24 clean:
25 del src\*.obj
26 del $(bin)