dos3d
diff firstp/Makefile.bcc @ 19:c10f62b2bd56
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 30 Nov 2011 07:17:09 +0200 |
parents | be61704c4cc8 |
children |
line diff
1.1 --- a/firstp/Makefile.bcc Wed Nov 30 00:06:28 2011 +0200 1.2 +++ b/firstp/Makefile.bcc Wed Nov 30 07:17:09 2011 +0200 1.3 @@ -1,14 +1,18 @@ 1.4 .AUTODEPEND 1.5 1.6 -obj = src\test.obj src\vga.obj src\timer.obj src\mouse.obj \ 1.7 - src\mingl.obj src\mglrast.obj src\mglgen.obj \ 1.8 - src\texture.obj src\palman.obj 1.9 -bin = dos3d.exe 1.10 +mgldir = ..\src 1.11 + 1.12 +obj = firstp.obj \ 1.13 + $(mgldir)\vga.obj $(mgldir)\timer.obj $(mgldir)\mouse.obj \ 1.14 + $(mgldir)\mingl.obj $(mgldir)\mglrast.obj $(mgldir)\mglgen.obj \ 1.15 + $(mgldir)\texture.obj $(mgldir)\palman.obj \ 1.16 + $(mgldir)\cvec.obj $(mgldir)\scene.obj 1.17 +bin = firstp.exe 1.18 1.19 CC = bcc 1.20 1.21 # 286 instructions, large memory model 1.22 -CFLAGS = -1 -f287 -ml -O -G -Isrc 1.23 +CFLAGS = -1 -f287 -ml -O -G -I..\src 1.24 1.25 $(bin): $(obj) 1.26 $(CC) @&&| 1.27 @@ -22,5 +26,6 @@ 1.28 $(CC) $(CFLAGS) -o$@ -c $< 1.29 1.30 clean: 1.31 - del src\*.obj 1.32 + del $(mgldir)\*.obj 1.33 + del firstp.obj 1.34 del $(bin)