dos3d

view firstp/Makefile.bcc @ 19:c10f62b2bd56

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 30 Nov 2011 07:17:09 +0200
parents be61704c4cc8
children
line source
1 .AUTODEPEND
3 mgldir = ..\src
5 obj = firstp.obj \
6 $(mgldir)\vga.obj $(mgldir)\timer.obj $(mgldir)\mouse.obj \
7 $(mgldir)\mingl.obj $(mgldir)\mglrast.obj $(mgldir)\mglgen.obj \
8 $(mgldir)\texture.obj $(mgldir)\palman.obj \
9 $(mgldir)\cvec.obj $(mgldir)\scene.obj
10 bin = firstp.exe
12 CC = bcc
14 # 286 instructions, large memory model
15 CFLAGS = -1 -f287 -ml -O -G -I..\src
17 $(bin): $(obj)
18 $(CC) @&&|
19 $(CFLAGS) -e$@
20 $(obj)
21 |
23 .SUFFIXES: .c .obj
25 .c.obj:
26 $(CC) $(CFLAGS) -o$@ -c $<
28 clean:
29 del $(mgldir)\*.obj
30 del firstp.obj
31 del $(bin)