OPTIMIZE = -off
CCFLAGS = -exp -phar2  
RANLIB = /usr/bin/ranlib
CC = mcc
MKDEP = d:/rayshade/mkdep
URTINC =
INCLUDES = c:/ndp/inc/include

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

CFILES = image.c
OFILES = $(CFILES:.c=.obj)


$(LIB): $(OFILES)
	386lib $(LIB) -r $(OFILES)

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
image.obj: image.c
image.obj: d:/rayshade/libray/libcomn/common.h
image.obj: d:/rayshade/config.h
image.obj: d:/rayshade/libray/libcomn/expr.h
image.obj: d:/rayshade/libray/libcomn/vector.h
image.obj: d:/rayshade/libray/libcomn/ray.h
image.obj: d:/rayshade/libray/libcomn/color.h
image.obj: d:/rayshade/libray/libcomn/transfrm.h
image.obj: d:/rayshade/libray/libcomn/error.h
image.obj: image.h
