CC = cc CCOPTS = -ansi -mips2 -float -prototypes -O -c LINK = cc LDOPTS = LIBS = -lgl -lm EXEC = tri OBJS = tri.o geom.o default all: $(EXEC) .c.o: $(CC) $(CCOPTS) $< $(EXEC): $(OBJS) $(LINK) $(LDOPTS) -o $(EXEC) $(OBJS) $(LIBS) clean clobber: rm -f ${PROGS} *.o