

all: calculate
CC=cc
CFLAGS=-mips3 -n32 -O2

calculate: getop.o calculate.o stack.o xgetch.o 
	$(CC) $(CFLAGS) -o $@ getop.o calculate.o stack.o xgetch.o -lm


getop.o: calc.h
sgetop.o: calc.h
polish.o: calc.h
calculate.o: calc.h
stack.o: calc.h
xgetch.o: calc.h

