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

LIB = ../libray.a
INCLUDE = -nostdinc -I../.. -I.. -Igcc:include -Igcc:os-include -Isc:include
CFLAGS = $(CCFLAGS) $(INCLUDE) $(OPTIMIZE)
SHELL = /bin/sh

OFILES = image.o
CFILES = image.c


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

target: $(LIB)

$(LIB): $(OFILES)
	ar rv $(LIB) $(OFILES)
	$(RANLIB) $(LIB)

clean:
	delete \#?.o quiet

# DO NOT DELETE THIS LINE
image.o: image.c
image.o: //config.h
image.o: //include/rle.h
image.o: //libray/libcommon/color.h
image.o: //libray/libcommon/common.h
image.o: //libray/libcommon/error.h
image.o: //libray/libcommon/expr.h
image.o: //libray/libcommon/ray.h
image.o: //libray/libcommon/transform.h
image.o: //libray/libcommon/vector.h
image.o: image.h
