dos3d
annotate 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 | |
children |
rev | line source |
---|---|
nuclear@23 | 1 .AUTODEPEND |
nuclear@23 | 2 |
nuclear@23 | 3 obj = src\test.obj src\vga.obj src\timer.obj src\mouse.obj \ |
nuclear@23 | 4 src\mingl.obj src\mglrast.obj src\mglgen.obj \ |
nuclear@23 | 5 src\texture.obj src\palman.obj |
nuclear@23 | 6 bin = dos3d.exe |
nuclear@23 | 7 |
nuclear@23 | 8 CC = bcc |
nuclear@23 | 9 |
nuclear@23 | 10 # 386 instructions, x87 fpu code, large memory model, optimize for speed |
nuclear@23 | 11 CFLAGS = -3 -f287 -ml -O2 -G -Isrc |
nuclear@23 | 12 |
nuclear@23 | 13 $(bin): $(obj) |
nuclear@23 | 14 $(CC) @&&| |
nuclear@23 | 15 $(CFLAGS) -e$@ |
nuclear@23 | 16 $(obj) |
nuclear@23 | 17 | |
nuclear@23 | 18 |
nuclear@23 | 19 .SUFFIXES: .c .obj |
nuclear@23 | 20 |
nuclear@23 | 21 .c.obj: |
nuclear@23 | 22 $(CC) $(CFLAGS) -o$@ -c $< |
nuclear@23 | 23 |
nuclear@23 | 24 clean: |
nuclear@23 | 25 del src\*.obj |
nuclear@23 | 26 del $(bin) |