OPTIMIZE = -O2 -fno-defer-pop -fno-builtin
CCFLAGS = -c -Dmalloc=stupid_malloc -Dfree=stupid_free -m68020 -m68881
RANLIB = ranlib
CC = gcc
MKDEP = //mkdep

LIB = ../libray.a
INCLUDE = -nostdinc -I../.. -I.. -Igcc:include -Igcc:os-include -Isc:include
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)
	ar rv $(LIB) $(OFILES)
	$(RANLIB) $(LIB)

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
