📄 makefile
字号:
LDLIBS = -lstdc++ -lframework -ltextuiclean: rm -f *.oDOTO = Transaction.o ChangeEmployeeTransaction.o PayrollDatabase.o \ Employee.o ChangeNameTransaction.o ChangeAddressTransaction.o \ ChangeClassificationTransaction.o PaymentClassification.o \ PaymentSchedule.o HourlyClassification.o WeeklySchedule.o \ ChangeHourlyTransaction.o AddEmployeeTransaction.o \ PaymentMethod.o HoldMethod.o AddSalariedEmployee.o \ SalariedClassification.o MonthlySchedule.o AddHourlyEmployee.o \ AddCommissionedEmployee.o BiweeklySchedule.o CommissionedClassification.o \ DeleteEmployeeTransaction.o TimeCardTransaction.o TimeCard.o \ SalesReceiptTransaction.o SalesReceipt.o Affiliation.o UnionAffiliation.o \ NoAffiliation.o ServiceChargeTransaction.o ServiceCharge.o \ ChangeSalariedTransaction.o ChangeCommissionedTransaction.o \ ChangeMethodTransaction.o ChangeMailTransaction.o MailMethod.o \ ChangeDirectTransaction.o DirectMethod.o ChangeHoldTransaction.o \ ChangeAffiliationTransaction.o ChangeMemberTransaction.o \ ChangeUnaffiliatedTransaction.o Date.o PaydayTransaction.o Paycheck.oall: clean $(DOTO)CPPFLAGS = -I "cppunit1.5\CppUnit\test\framework" -I "cppunit1.5\cppunit\test\textui"LDFLAGS = -L "cppunit1.5\CppUnit\test\framework" -L "cppunit1.5\CppUnit\test\textui"TestRunner : TestRunner.o PayrollTest.o $(DOTO) $(CC) -o TestRunner $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS)depend : gcc -MM ${CPPFLAGS} *.cpptest : TestRunner ./TestRunner PayrollTestdatetest : datetest.o Date.o $(CC) -o datetest $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) ./datetestAddCommissionedEmployee.o: AddCommissionedEmployee.cpp \ AddCommissionedEmployee.h AddEmployeeTransaction.h Transaction.h \ CommissionedClassification.h PaymentClassification.h Date.h \ BiweeklySchedule.h PaymentSchedule.hAddEmployeeTransaction.o: AddEmployeeTransaction.cpp \ AddEmployeeTransaction.h Transaction.h HoldMethod.h PaymentMethod.h \ Employee.h PayrollDatabase.hAddHourlyEmployee.o: AddHourlyEmployee.cpp AddHourlyEmployee.h \ AddEmployeeTransaction.h Transaction.h HourlyClassification.h \ PaymentClassification.h Date.h WeeklySchedule.h PaymentSchedule.hAddSalariedEmployee.o: AddSalariedEmployee.cpp AddSalariedEmployee.h \ AddEmployeeTransaction.h Transaction.h SalariedClassification.h \ PaymentClassification.h MonthlySchedule.h PaymentSchedule.hAffiliation.o: Affiliation.cpp Affiliation.hBiweeklySchedule.o: BiweeklySchedule.cpp BiweeklySchedule.h \ PaymentSchedule.h Date.hChangeAddressTransaction.o: ChangeAddressTransaction.cpp \ ChangeAddressTransaction.h ChangeEmployeeTransaction.h Transaction.h \ Employee.hChangeAffiliationTransaction.o: ChangeAffiliationTransaction.cpp \ ChangeAffiliationTransaction.h ChangeEmployeeTransaction.h \ Transaction.h Employee.hChangeClassificationTransaction.o: ChangeClassificationTransaction.cpp \ ChangeClassificationTransaction.h ChangeEmployeeTransaction.h \ Transaction.h Employee.hChangeCommissionedTransaction.o: ChangeCommissionedTransaction.cpp \ ChangeCommissionedTransaction.h ChangeClassificationTransaction.h \ ChangeEmployeeTransaction.h Transaction.h Employee.h \ BiweeklySchedule.h PaymentSchedule.h CommissionedClassification.h \ PaymentClassification.h Date.hChangeDirectTransaction.o: ChangeDirectTransaction.cpp \ ChangeDirectTransaction.h ChangeMethodTransaction.h \ ChangeEmployeeTransaction.h Transaction.h Employee.h DirectMethod.h \ PaymentMethod.hChangeEmployeeTransaction.o: ChangeEmployeeTransaction.cpp \ ChangeEmployeeTransaction.h Transaction.h Employee.h \ PayrollDatabase.hChangeHoldTransaction.o: ChangeHoldTransaction.cpp \ ChangeHoldTransaction.h ChangeMethodTransaction.h \ ChangeEmployeeTransaction.h Transaction.h Employee.h HoldMethod.h \ PaymentMethod.hChangeHourlyTransaction.o: ChangeHourlyTransaction.cpp \ ChangeHourlyTransaction.h ChangeClassificationTransaction.h \ ChangeEmployeeTransaction.h Transaction.h Employee.h WeeklySchedule.h \ PaymentSchedule.h HourlyClassification.h PaymentClassification.h \ Date.hChangeMailTransaction.o: ChangeMailTransaction.cpp \ ChangeMailTransaction.h ChangeMethodTransaction.h \ ChangeEmployeeTransaction.h Transaction.h Employee.h MailMethod.h \ PaymentMethod.hChangeMemberTransaction.o: ChangeMemberTransaction.cpp \ ChangeMemberTransaction.h ChangeAffiliationTransaction.h \ ChangeEmployeeTransaction.h Transaction.h Employee.h \ UnionAffiliation.h Affiliation.h PayrollDatabase.hChangeMethodTransaction.o: ChangeMethodTransaction.cpp \ ChangeMethodTransaction.h ChangeEmployeeTransaction.h Transaction.h \ Employee.hChangeNameTransaction.o: ChangeNameTransaction.cpp \ ChangeNameTransaction.h ChangeEmployeeTransaction.h Transaction.h \ Employee.hChangeSalariedTransaction.o: ChangeSalariedTransaction.cpp \ ChangeSalariedTransaction.h ChangeClassificationTransaction.h \ ChangeEmployeeTransaction.h Transaction.h Employee.h \ MonthlySchedule.h PaymentSchedule.h SalariedClassification.h \ PaymentClassification.hChangeUnaffiliatedTransaction.o: ChangeUnaffiliatedTransaction.cpp \ ChangeUnaffiliatedTransaction.h ChangeAffiliationTransaction.h \ ChangeEmployeeTransaction.h Transaction.h Employee.h NoAffiliation.h \ Affiliation.h UnionAffiliation.h PayrollDatabase.hCommissionedClassification.o: CommissionedClassification.cpp \ CommissionedClassification.h PaymentClassification.h Date.h \ SalesReceipt.h Paycheck.hDate.o: Date.cpp Date.hDeleteEmployeeTransaction.o: DeleteEmployeeTransaction.cpp \ DeleteEmployeeTransaction.h Transaction.h PayrollDatabase.hDirectMethod.o: DirectMethod.cpp DirectMethod.h PaymentMethod.h \ Paycheck.h Date.hEmployee.o: Employee.cpp Employee.h NoAffiliation.h Affiliation.h \ PaymentClassification.h PaymentSchedule.h PaymentMethod.h Paycheck.h \ Date.hHoldMethod.o: HoldMethod.cpp HoldMethod.h PaymentMethod.h Paycheck.h \ Date.hHourlyClassification.o: HourlyClassification.cpp \ HourlyClassification.h PaymentClassification.h Date.h TimeCard.h \ PayCheck.hMailMethod.o: MailMethod.cpp MailMethod.h PaymentMethod.h Paycheck.h \ Date.hMonthlySchedule.o: MonthlySchedule.cpp MonthlySchedule.h \ PaymentSchedule.h Date.hNoAffiliation.o: NoAffiliation.cpp NoAffiliation.h Affiliation.hPaycheck.o: Paycheck.cpp Paycheck.h Date.hPaydayTransaction.o: PaydayTransaction.cpp PaydayTransaction.h \ Transaction.h Date.h PayrollDatabase.h Paycheck.h Employee.hPaymentClassification.o: PaymentClassification.cpp \ PaymentClassification.hPaymentMethod.o: PaymentMethod.cpp PaymentMethod.hPaymentSchedule.o: PaymentSchedule.cpp PaymentSchedule.hPayrollDatabase.o: PayrollDatabase.cpp PayrollDatabase.h Employee.hPayrollTest.o: PayrollTest.cpp PayrollTest.h \ c:/cppunit1.5/CppUnit/test/framework/TestCase.h \ c:/cppunit1.5/CppUnit/test/framework/Guards.h \ c:/cppunit1.5/CppUnit/test/framework/Test.h \ c:/cppunit1.5/CppUnit/test/framework/CppUnitException.h \ c:/cppunit1.5/CppUnit/test/framework/TestSuite.h \ c:/cppunit1.5/CppUnit/test/framework/TestCaller.h PayrollDatabase.h \ AddSalariedEmployee.h AddEmployeeTransaction.h Transaction.h \ Employee.h SalariedClassification.h PaymentClassification.h \ AddHourlyEmployee.h MonthlySchedule.h PaymentSchedule.h HoldMethod.h \ PaymentMethod.h HourlyClassification.h Date.h WeeklySchedule.h \ AddCommissionedEmployee.h CommissionedClassification.h \ BiweeklySchedule.h DeleteEmployeeTransaction.h TimeCardTransaction.h \ TimeCard.h SalesReceiptTransaction.h SalesReceipt.h \ UnionAffiliation.h Affiliation.h ServiceChargeTransaction.h \ ServiceCharge.h ChangeNameTransaction.h ChangeEmployeeTransaction.h \ ChangeAddressTransaction.h ChangeHourlyTransaction.h \ ChangeClassificationTransaction.h ChangeSalariedTransaction.h \ ChangeCommissionedTransaction.h ChangeMailTransaction.h \ ChangeMethodTransaction.h MailMethod.h ChangeDirectTransaction.h \ DirectMethod.h ChangeHoldTransaction.h ChangeMemberTransaction.h \ ChangeAffiliationTransaction.h ChangeUnaffiliatedTransaction.h \ NoAffiliation.h PaydayTransaction.h Paycheck.hSalariedClassification.o: SalariedClassification.cpp \ SalariedClassification.h PaymentClassification.hSalesReceipt.o: SalesReceipt.cpp SalesReceipt.h Date.hSalesReceiptTransaction.o: SalesReceiptTransaction.cpp \ SalesReceiptTransaction.h Transaction.h Date.h Employee.h \ PayrollDatabase.h CommissionedClassification.h \ PaymentClassification.h SalesReceipt.hServiceCharge.o: ServiceCharge.cpp ServiceCharge.hServiceChargeTransaction.o: ServiceChargeTransaction.cpp \ ServiceChargeTransaction.h Transaction.h Employee.h ServiceCharge.h \ PayrollDatabase.h UnionAffiliation.h Affiliation.hTestRunner.o: TestRunner.cpp \ c:/cppunit1.5/cppunit/test/textui/TextTestResult.h \ c:/cppunit1.5/CppUnit/test/framework/TestResult.h \ c:/cppunit1.5/CppUnit/test/framework/Guards.h \ c:/cppunit1.5/CppUnit/test/framework/TestFailure.h \ c:/cppunit1.5/CppUnit/test/framework/CppUnitException.h PayrollTest.h \ c:/cppunit1.5/CppUnit/test/framework/TestCase.h \ c:/cppunit1.5/CppUnit/test/framework/Test.h \ c:/cppunit1.5/CppUnit/test/framework/TestSuite.h \ c:/cppunit1.5/CppUnit/test/framework/TestCaller.hTimeCard.o: TimeCard.cpp TimeCard.h Date.hTimeCardTransaction.o: TimeCardTransaction.cpp TimeCardTransaction.h \ Transaction.h Date.h Employee.h PayrollDatabase.h \ HourlyClassification.h PaymentClassification.h TimeCard.hTransaction.o: Transaction.cpp Transaction.hUnionAffiliation.o: UnionAffiliation.cpp UnionAffiliation.h \ Affiliation.h ServiceCharge.hWeeklySchedule.o: WeeklySchedule.cpp WeeklySchedule.h \ PaymentSchedule.h Date.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -