-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (20 loc) · 813 Bytes
/
Copy pathMakefile
File metadata and controls
21 lines (20 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
all:
mkdir -p ./bin
gcc -c matrix.c -o matrix.o
gcc wk1-horner.c -o ./bin/wk1-horner
gcc wk1-bisection.c -o ./bin/wk1-bisection
gcc wk2-fpi.c -o ./bin/wk2-fpi
gcc wk2-newton-fpi.c -o ./bin/wk2-newton-fpi
gcc wk3-naiive-gaussian.c -o ./bin/wk3-naiive-gaussian
gcc wk4-partial-pivoting.c matrix.o -o ./bin/wk4-partial-pivoting
gcc wk5-jacobi.c -o ./bin/wk5-jacobi
gcc wk6-nonlinear.c matrix.o -o ./bin/wk6-nonlinear
gcc wk7-interpolation.c -o ./bin/wk7-interpolation
gcc wk8-newton-difference-interpolation.c -o ./bin/wk8-newton-difference-interpolation
gcc wk9-least-square.c matrix.o -o ./bin/wk9-least-square
gcc wk10-qr.c -o ./bin/wk10-qr
gcc wk11-gauss-newton.c matrix.o -o ./bin/wk11-gauss-newton
gcc wk12-gradient-descent.c -o ./bin/wk12-gradient-descent
clean:
rm ./matrix.o
rm -rf ./bin