dos3d
annotate firstp/Makefile.bcc @ 16:cb676ff89e69
added missing cvec and scene files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 29 Nov 2011 07:23:57 +0200 |
parents | |
children | c10f62b2bd56 |
rev | line source |
---|---|
nuclear@14 | 1 .AUTODEPEND |
nuclear@14 | 2 |
nuclear@14 | 3 obj = src\test.obj src\vga.obj src\timer.obj src\mouse.obj \ |
nuclear@14 | 4 src\mingl.obj src\mglrast.obj src\mglgen.obj \ |
nuclear@14 | 5 src\texture.obj src\palman.obj |
nuclear@14 | 6 bin = dos3d.exe |
nuclear@14 | 7 |
nuclear@14 | 8 CC = bcc |
nuclear@14 | 9 |
nuclear@14 | 10 # 286 instructions, large memory model |
nuclear@14 | 11 CFLAGS = -1 -f287 -ml -O -G -Isrc |
nuclear@14 | 12 |
nuclear@14 | 13 $(bin): $(obj) |
nuclear@14 | 14 $(CC) @&&| |
nuclear@14 | 15 $(CFLAGS) -e$@ |
nuclear@14 | 16 $(obj) |
nuclear@14 | 17 | |
nuclear@14 | 18 |
nuclear@14 | 19 .SUFFIXES: .c .obj |
nuclear@14 | 20 |
nuclear@14 | 21 .c.obj: |
nuclear@14 | 22 $(CC) $(CFLAGS) -o$@ -c $< |
nuclear@14 | 23 |
nuclear@14 | 24 clean: |
nuclear@14 | 25 del src\*.obj |
nuclear@14 | 26 del $(bin) |