CFLAGS = -O -I/usr/staff/include
LIBS = -lm -lmalloc -lc_s
GLIBS = -lsphere -lfm_s -lgl_s
FLIBS = -L /usr/staff/lib -lforms

SOBJS = sphform.o sphere.o light.o

all: sphere 

light.o: light.c light.h
sphform.o: sphform.c sphform.h
showform.o: showform.c showform.h

sphere:$(SOBJS)
	cc -O -s -o $@ $(SOBJS) $(FLIBS) $(GLIBS) $(LIBS)
