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 \
|
2013-07-25 01:02:07 +00:00
|
|
|
abCalcOpAnd.o abCalcOpOr.o abCalcOpXor.o abCalcOpNot.o \
|
|
|
|
abCalcOpBin.o abCalcOpOct.o abCalcOpDec.o abCalcOpHex.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 \
|
2013-07-25 01:02:07 +00:00
|
|
|
abCalcOpAnd.h abCalcOpOr.h abCalcOpXor.h abCalcOpNot.h abCalcOpBin.h \
|
|
|
|
abCalcOpOct.h abCalcOpDec.h abCalcOpHex.h
|
|
|
|
abCalcOpAdd.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpAdd.h
|
|
|
|
abCalcOpSubtr.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpSubtr.h
|
|
|
|
abCalcOpMult.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpMult.h
|
|
|
|
abCalcOpDiv.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpDiv.h
|
|
|
|
abCalcOpPower.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpPower.h
|
|
|
|
abCalcOpAnd.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpAnd.h
|
|
|
|
abCalcOpOr.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpOr.h
|
|
|
|
abCalcOpXor.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpXor.h
|
|
|
|
abCalcOpNot.o: abCalcOp.h abCalcError.h abCalcExpr.h abCalcStack.h abCalcOpNot.h
|
|
|
|
abCalcOpBin.o: abCalcOp.h abCalcMode.h abCalcOpBin.h
|
|
|
|
abCalcOpOct.o: abCalcOp.h abCalcMode.h abCalcOpOct.h
|
|
|
|
abCalcOpDec.o: abCalcOp.h abCalcMode.h abCalcOpDec.h
|
|
|
|
abCalcOpHex.o: abCalcOp.h abCalcMode.h abCalcOpHex.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)
|