deepstone

diff Makefile @ 32:7c8402e27b7c

renamed Makefile.dos to Makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 22 Sep 2013 18:37:46 +0300
parents Makefile.dos@a8d42276b5ad
children 03a0b307706a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Sun Sep 22 18:37:46 2013 +0300
     1.3 @@ -0,0 +1,23 @@
     1.4 +obj = main.obj &
     1.5 +	  wvga.obj dpmi.obj timer.obj mouse.obj &
     1.6 +	  mingl.obj mglrast.obj mglclip.obj mglgen.obj &
     1.7 +	  texture.obj palman.obj scene.obj cvec.obj &
     1.8 +	  fixedp.obj
     1.9 +bin = deepston.exe
    1.10 +
    1.11 +CC = wcc386
    1.12 +CFLAGS = -5 -fp5 -otexan -zq -bt=dos -dRAST_FLOAT -dDBG_USE_FLOAT
    1.13 +LD = wlink
    1.14 +
    1.15 +$(bin): $(obj)
    1.16 +	%write objects.lnk file { $(obj) }
    1.17 +	$(LD) name $@ @objects $(LDFLAGS)
    1.18 +
    1.19 +.c: src\
    1.20 +
    1.21 +.c.obj: .autodepend
    1.22 +	$(CC) $(CFLAGS) $[*
    1.23 +
    1.24 +clean: .symbolic
    1.25 +	del *.obj
    1.26 +	del $(bin)