dos3d

view Makefile.bcc @ 24:698c4d07702d

fixed the linux makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 20 Jun 2017 21:55:49 +0300
parents
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)