OPTIMIZE = -O
CCFLAGS = -fpcc-struct-return 
RANLIB = ar s
CC = gcc
MKDEP = d:/rayshade/mkdep
URTINC = 

LIB = ../libray.a
INCLUDE = -I.. -I../.. $(URTINC)
CFLAGS = $(CCFLAGS) $(INCLUDE) $(OPTIMIZE)
SHELL = /bin/sh

OFILES = image.o
CFILES = image.c


$(LIB): $(OFILES)
	@>$*.rsp $(LIB)
	@!>>$*.rsp $?
	ar ruv @$*.rsp
	$(RANLIB) $(LIB)
	@del $*.rsp

clean:
	rm -f $(OFILES)

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