|
|
@ -27,11 +27,6 @@ for file in employeeLogin.c mainMenu.c createEmployeeAccount.c; do |
|
|
|
cp "$file" "$file.bak" |
|
|
|
done |
|
|
|
|
|
|
|
# replace .c with .h in respective files |
|
|
|
#sed -i 's/createEmployeeAccount.c/createEmployeeAccount.h/g' mainMenu.c |
|
|
|
#sed -i 's/showGeneralInfoEmployee.c/showGeneralInfoEmployee.h/g' employeeLogin.c |
|
|
|
#sed -i 's/mainMenu.c/mainMenu.h/g' employeeLogin.c |
|
|
|
#sed -i 's/employeeLogin.c/employeeLogin.h/g' createEmployeeAccount.c |
|
|
|
|
|
|
|
# remove 'src/' |
|
|
|
for file in employeeLogin.c createEmployeeAccount.c; do |
|
|
@ -39,7 +34,7 @@ for file in employeeLogin.c createEmployeeAccount.c; do |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
gcc mainMenu.c error.c createEmployeeAccount.c showGeneralInfoEmployee.c employeeLogin.c createCustomer.c helperFunctions.c loginCustomer.c customerMenu.c main.c calculatorAdd.c calculatorDivide.c calculatorFactorial.c calculatorGetUserInput.c calculatorGetUserInputFactorial.c calculatorMultiply.c calculatorSubtract.c displayMenuCalculator.c -o main |
|
|
|
gcc mainMenu.c error.c createEmployeeAccount.c showGeneralInfoEmployee.c employeeLogin.c createCustomer.c helperFunctions.c loginCustomer.c customerMenu.c main.c calculatorAdd.c calculatorDivide.c calculatorFactorial.c calculatorGetUserInput.c calculatorGetUserInputFactorial.c calculatorMultiply.c calculatorSubtract.c displayMenuCalculator.c requestLoan.c -o main |
|
|
|
./main |
|
|
|
rm main |
|
|
|
|
|
|
|