OPTIMIZE = OPTIMIZE
CCFLAGS = CPU=68040 NOSTKCHK MATH=68881 IGNORE=85+100+161+154+84+132 STRMERGE\
DATA=AUTO DEFINE=malloc=stupid_malloc DEFINE=free=stupid_free
RANLIB = 
CC = sc
MKDEP = //mkdep

LIB = /ray.lib
INCLUDE = IDIR=/ IDIR=// IDIR=/libcommon IDIR=/libobj
CFLAGS = $(INCLUDE) $(CCFLAGS) $(OPTIMIZE)
SHELL = /bin/sh

CFILES = atmosphere.c fog.c fogdeck.c mist.c surface.c surfshade.c
OFILES = atmosphere.o fog.o fogdeck.o mist.o surface.o surfshade.o

.c.o:
	$(CC) $(CFLAGS) $<

target: $(LIB)

$(LIB): $(OFILES)
	oml $(LIB) r $(OFILES)

clean:
	delete \#?.o quiet

# DO NOT DELETE THIS LINE
atmosphere.o: atmosphere.c
atmosphere.o: //config.h
atmosphere.o: //libray/libcommon/color.h
atmosphere.o: //libray/libcommon/common.h
atmosphere.o: //libray/libcommon/error.h
atmosphere.o: //libray/libcommon/expr.h
atmosphere.o: //libray/libcommon/ray.h
atmosphere.o: //libray/libcommon/transform.h
atmosphere.o: //libray/libcommon/vector.h
atmosphere.o: atmosphere.h
fog.o: fog.c
fog.o: //config.h
fog.o: //libray/libcommon/color.h
fog.o: //libray/libcommon/common.h
fog.o: //libray/libcommon/error.h
fog.o: //libray/libcommon/expr.h
fog.o: //libray/libcommon/ray.h
fog.o: //libray/libcommon/transform.h
fog.o: //libray/libcommon/vector.h
fog.o: atmosphere.h
fog.o: fog.h
fogdeck.o: fogdeck.c
fogdeck.o: //config.h
fogdeck.o: //libray/libcommon/color.h
fogdeck.o: //libray/libcommon/common.h
fogdeck.o: //libray/libcommon/error.h
fogdeck.o: //libray/libcommon/expr.h
fogdeck.o: //libray/libcommon/ray.h
fogdeck.o: //libray/libcommon/transform.h
fogdeck.o: //libray/libcommon/vector.h
fogdeck.o: atmosphere.h
fogdeck.o: fogdeck.h
mist.o: mist.c
mist.o: //config.h
mist.o: //libray/libcommon/color.h
mist.o: //libray/libcommon/common.h
mist.o: //libray/libcommon/error.h
mist.o: //libray/libcommon/expr.h
mist.o: //libray/libcommon/ray.h
mist.o: //libray/libcommon/transform.h
mist.o: //libray/libcommon/vector.h
mist.o: atmosphere.h
mist.o: mist.h
surface.o: surface.c
surface.o: //config.h
surface.o: //libray/libcommon/color.h
surface.o: //libray/libcommon/common.h
surface.o: //libray/libcommon/error.h
surface.o: //libray/libcommon/expr.h
surface.o: //libray/libcommon/ray.h
surface.o: //libray/libcommon/transform.h
surface.o: //libray/libcommon/vector.h
surface.o: atmosphere.h
surface.o: surface.h
surfshade.o: surfshade.c
surfshade.o: //config.h
surfshade.o: //libray/libcommon/color.h
surfshade.o: //libray/libcommon/common.h
surfshade.o: //libray/libcommon/error.h
surfshade.o: //libray/libcommon/expr.h
surfshade.o: //libray/libcommon/ray.h
surfshade.o: //libray/libcommon/transform.h
surfshade.o: //libray/libcommon/vector.h
surfshade.o: //libray/libobj/bounds.h
surfshade.o: //libray/libobj/geom.h
surfshade.o: surface.h
