dos3d

view firstp/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 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)