dos3d
annotate firstp/Makefile.bcc @ 23:f2c2e45e8edd
reverted the mistaken push from the deepstone branch
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 21 Sep 2013 18:22:11 +0300 |
parents | be61704c4cc8 |
children |
rev | line source |
---|---|
nuclear@14 | 1 .AUTODEPEND |
nuclear@14 | 2 |
nuclear@19 | 3 mgldir = ..\src |
nuclear@19 | 4 |
nuclear@19 | 5 obj = firstp.obj \ |
nuclear@19 | 6 $(mgldir)\vga.obj $(mgldir)\timer.obj $(mgldir)\mouse.obj \ |
nuclear@19 | 7 $(mgldir)\mingl.obj $(mgldir)\mglrast.obj $(mgldir)\mglgen.obj \ |
nuclear@19 | 8 $(mgldir)\texture.obj $(mgldir)\palman.obj \ |
nuclear@19 | 9 $(mgldir)\cvec.obj $(mgldir)\scene.obj |
nuclear@19 | 10 bin = firstp.exe |
nuclear@14 | 11 |
nuclear@14 | 12 CC = bcc |
nuclear@14 | 13 |
nuclear@14 | 14 # 286 instructions, large memory model |
nuclear@19 | 15 CFLAGS = -1 -f287 -ml -O -G -I..\src |
nuclear@14 | 16 |
nuclear@14 | 17 $(bin): $(obj) |
nuclear@14 | 18 $(CC) @&&| |
nuclear@14 | 19 $(CFLAGS) -e$@ |
nuclear@14 | 20 $(obj) |
nuclear@14 | 21 | |
nuclear@14 | 22 |
nuclear@14 | 23 .SUFFIXES: .c .obj |
nuclear@14 | 24 |
nuclear@14 | 25 .c.obj: |
nuclear@14 | 26 $(CC) $(CFLAGS) -o$@ -c $< |
nuclear@14 | 27 |
nuclear@14 | 28 clean: |
nuclear@19 | 29 del $(mgldir)\*.obj |
nuclear@19 | 30 del firstp.obj |
nuclear@14 | 31 del $(bin) |