dos3d
annotate Makefile.bcc @ 2:8c9a63a902d5
added palman to the dos makefile
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 21 Nov 2011 10:15:37 +0200 |
parents | f04884489bad |
children | 0e781cc43178 |
rev | line source |
---|---|
nuclear@0 | 1 .AUTODEPEND |
nuclear@0 | 2 |
nuclear@0 | 3 obj = src\test.obj src\vga.obj src\timer.obj src\mouse.obj \ |
nuclear@2 | 4 src\mingl.obj src\mglrast.obj src\mglgen.obj \ |
nuclear@2 | 5 src\palman.obj |
nuclear@0 | 6 bin = dos3d.exe |
nuclear@0 | 7 |
nuclear@0 | 8 CC = bcc |
nuclear@0 | 9 |
nuclear@0 | 10 # 286 instructions, large memory model |
nuclear@0 | 11 CFLAGS = -1 -f287 -ml -O -G -Isrc |
nuclear@0 | 12 |
nuclear@0 | 13 $(bin): $(obj) |
nuclear@0 | 14 $(CC) @&&| |
nuclear@0 | 15 $(CFLAGS) -e$@ |
nuclear@0 | 16 $(obj) |
nuclear@0 | 17 | |
nuclear@0 | 18 |
nuclear@0 | 19 .SUFFIXES: .c .obj |
nuclear@0 | 20 |
nuclear@0 | 21 .c.obj: |
nuclear@0 | 22 $(CC) $(CFLAGS) -o$@ -c $< |
nuclear@0 | 23 |
nuclear@0 | 24 clean: |
nuclear@0 | 25 del src\*.obj |
nuclear@0 | 26 del $(bin) |