2013-07-24 23:59:18 +00:00
|
|
|
OBJS=abCalc.o abCalcExpr.o abCalcExpReal.o abCalcExprInt.o abCalcStack.o \
|
|
|
|
abCalcMode.o abCalcMain.o abCalcOp.o abCalcError.o abCalcOpAdd.o \
|
|
|
|
abCalcOpSubtr.o abCalcOpMult.o abCalcOpDiv.o abCalcOpPower.o \
|
|
|
|
abCalcOpAnd.o abCalcOpOr.o abCalcOpXor.o abCalcOpNot.o
|
2013-07-24 21:15:11 +00:00
|
|
|
|
2013-07-24 13:45:33 +00:00
|
|
|
NAME=abCalc
|
|
|
|
|
|
|
|
all: $(NAME)
|
|
|
|
|
2013-07-24 14:30:44 +00:00
|
|
|
abCalcExpr.o: abCalcExpr.h
|
2013-07-24 23:59:18 +00:00
|
|
|
abCalcExpReal.o: abCalcExpr.h abCalcExpReal.h
|
|
|
|
abCalcExprInt.o: abCalcExpr.h abCalcMode.h abCalcExprInt.h
|
2013-07-24 21:15:11 +00:00
|
|
|
abCalcStack.o: abCalcExpr.h abCalcStack.h abCalcError.h
|
2013-07-24 15:06:38 +00:00
|
|
|
abCalcMode.o: abCalcMode.h abCalcExpr.h
|
2013-07-24 23:59:18 +00:00
|
|
|
abCalcError.o: abCalcError.h
|
|
|
|
abCalc.o: abCalc.h abCalcExpr.h abCalcMode.h abCalcExpReal.h abCalcExprInt.h \
|
|
|
|
abCalcStack.h abCalcOp.h abCalcError.h
|
2013-07-24 21:15:11 +00:00
|
|
|
abCalcMain.o: abCalc.h abCalcStack.h abCalcExpr.h abCalcOp.h abCalcError.h
|
2013-07-24 23:59:18 +00:00
|
|
|
abCalcOp.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpAdd.h \
|
|
|
|
abCalcOpSubtr.h abCalcOpMult.h abCalcOpDiv.h abCalcOpPower.h \
|
|
|
|
abCalcOpAnd.h abCalcOpOr.h abCalcOpXor.h abCalcOpNot.h
|
2013-07-24 23:01:04 +00:00
|
|
|
abCalcOpAdd.o: abCalcOp.h abCalcError.h abCalcOpAdd.h
|
2013-07-24 23:59:18 +00:00
|
|
|
abCalcOpSubtr.o: abCalcOp.h abCalcError.h abCalcOpSubtr.h
|
|
|
|
abCalcOpMult.o: abCalcOp.h abCalcError.h abCalcOpMult.h
|
|
|
|
abCalcOpDiv.o: abCalcOp.h abCalcError.h abCalcOpDiv.h
|
|
|
|
abCalcOpPower.o: abCalcOp.h abCalcError.h abCalcOpPower.h
|
|
|
|
abCalcOpAnd.o: abCalcOp.h abCalcError.h abCalcOpAnd.h
|
|
|
|
abCalcOpOr.o: abCalcOp.h abCalcError.h abCalcOpOr.h
|
|
|
|
abCalcOpXor.o: abCalcOp.h abCalcError.h abCalcOpXor.h
|
|
|
|
abCalcOpNot.o: abCalcOp.h abCalcError.h abCalcOpNot.h
|
2013-07-24 17:01:38 +00:00
|
|
|
|
2013-07-24 14:30:44 +00:00
|
|
|
|
2013-07-24 13:45:33 +00:00
|
|
|
$(NAME): $(OBJS)
|
|
|
|
cc -o $(NAME) $(OBJS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(NAME) $(OBJS)
|