OPTIMIZE = -off
CCFLAGS = -exp -phar2  
RANLIB = /usr/bin/ranlib
CC = mcc
MKDEP = d:/rayshade/mkdep

LIB = ../libray.lib
INCLUDES = -I../..
CFLAGS = $(CCFLAGS) $(INCLUDES) $(OPTIMIZE)
SHELL = /bin/sh

CFILES = memory.c expr.c transfrm.c rotate.c sampling.c scale.c translat.c vecmath.c
OFILES = $(CFILES:.c=.obj)

$(LIB): $(OFILES)
	@>$*.rsp $(LIB)
	@!>>$*.rsp -replace $?
	386lib @$*.rsp

clean:
	for %i in ($(OFILES)) do del %i

depend:
	(sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
	 $(MKDEP) $(CFILES) | sed 's/: \.\//: /; /\/usr\/include/d' \
	) >Makefile.new
	cp Makefile Makefile.bak
	cp Makefile.new Makefile
	rm -f Makefile.new

# DO NOT DELETE THIS LINE
memory.obj: memory.c
memory.obj: common.h
memory.obj: d:/rayshade/config.h
memory.obj: expr.h
memory.obj: vector.h
memory.obj: ray.h
memory.obj: color.h
memory.obj: transfrm.h
memory.obj: error.h
expr.obj: expr.c
expr.obj: common.h
expr.obj: d:/rayshade/config.h
expr.obj: expr.h
expr.obj: vector.h
expr.obj: ray.h
expr.obj: color.h
expr.obj: transfrm.h
expr.obj: error.h
transfrm.obj: transfrm.c
transfrm.obj: common.h
transfrm.obj: d:/rayshade/config.h
transfrm.obj: expr.h
transfrm.obj: vector.h
transfrm.obj: ray.h
transfrm.obj: color.h
transfrm.obj: transfrm.h
transfrm.obj: error.h
rotate.obj: rotate.c
rotate.obj: common.h
rotate.obj: d:/rayshade/config.h
rotate.obj: expr.h
rotate.obj: vector.h
rotate.obj: ray.h
rotate.obj: color.h
rotate.obj: transfrm.h
rotate.obj: error.h
rotate.obj: rotate.h
sampling.obj: sampling.c
sampling.obj: common.h
sampling.obj: d:/rayshade/config.h
sampling.obj: expr.h
sampling.obj: vector.h
sampling.obj: ray.h
sampling.obj: color.h
sampling.obj: transfrm.h
sampling.obj: error.h
sampling.obj: sampling.h
scale.obj: scale.c
scale.obj: common.h
scale.obj: d:/rayshade/config.h
scale.obj: expr.h
scale.obj: vector.h
scale.obj: ray.h
scale.obj: color.h
scale.obj: transfrm.h
scale.obj: error.h
scale.obj: scale.h
translat.obj: translat.c
translat.obj: common.h
translat.obj: d:/rayshade/config.h
translat.obj: expr.h
translat.obj: vector.h
translat.obj: ray.h
translat.obj: color.h
translat.obj: transfrm.h
translat.obj: error.h
translat.obj: translat.h
vecmath.obj: vecmath.c
vecmath.obj: common.h
vecmath.obj: d:/rayshade/config.h
vecmath.obj: expr.h
vecmath.obj: vector.h
vecmath.obj: ray.h
vecmath.obj: color.h
vecmath.obj: transfrm.h
vecmath.obj: error.h
