Algorithm version C files need to be separately compiled now.
This commit is contained in:
@@ -100,8 +100,9 @@ mpw() {
|
||||
|
||||
# build
|
||||
cc "${cflags[@]}" "$@" \
|
||||
"../core/src/base64.c" "../core/src/aes.c" "../core/src/mpw-algorithm.c" "../core/src/mpw-types.c" "../core/src/mpw-util.c" \
|
||||
"../core/src/mpw-marshal-util.c" "../core/src/mpw-marshal.c" "src/mpw-cli-util.c" \
|
||||
"../core/src/base64.c" "../core/src/aes.c" "../core/src/mpw-algorithm.c" \
|
||||
"../core/src/mpw-algorithm_v0.c" "../core/src/mpw-algorithm_v1.c" "../core/src/mpw-algorithm_v2.c" "../core/src/mpw-algorithm_v3.c" \
|
||||
"../core/src/mpw-types.c" "../core/src/mpw-util.c" "../core/src/mpw-marshal-util.c" "../core/src/mpw-marshal.c" "src/mpw-cli-util.c" \
|
||||
"${ldflags[@]}" "src/mpw-cli.c" -o "mpw"
|
||||
echo "done! You can now run ./mpw-cli-tests, ./install or use ./$_"
|
||||
}
|
||||
@@ -125,7 +126,9 @@ mpw-bench() {
|
||||
|
||||
# build
|
||||
cc "${cflags[@]}" "$@" \
|
||||
"../core/src/base64.c" "../core/src/aes.c" "../core/src/mpw-algorithm.c" "../core/src/mpw-types.c" "../core/src/mpw-util.c" \
|
||||
"../core/src/base64.c" "../core/src/aes.c" "../core/src/mpw-algorithm.c" \
|
||||
"../core/src/mpw-algorithm_v0.c" "../core/src/mpw-algorithm_v1.c" "../core/src/mpw-algorithm_v2.c" "../core/src/mpw-algorithm_v3.c" \
|
||||
"../core/src/mpw-types.c" "../core/src/mpw-util.c" \
|
||||
"${ldflags[@]}" "src/mpw-bench.c" -o "mpw-bench"
|
||||
echo "done! You can now use ./$_"
|
||||
}
|
||||
@@ -150,7 +153,9 @@ mpw-tests() {
|
||||
|
||||
# build
|
||||
cc "${cflags[@]}" "$@" \
|
||||
"../core/src/base64.c" "../core/src/aes.c" "../core/src/mpw-algorithm.c" "../core/src/mpw-types.c" "../core/src/mpw-util.c" "src/mpw-tests-util.c" \
|
||||
"../core/src/base64.c" "../core/src/aes.c" "../core/src/mpw-algorithm.c" \
|
||||
"../core/src/mpw-algorithm_v0.c" "../core/src/mpw-algorithm_v1.c" "../core/src/mpw-algorithm_v2.c" "../core/src/mpw-algorithm_v3.c" \
|
||||
"../core/src/mpw-types.c" "../core/src/mpw-util.c" "src/mpw-tests-util.c" \
|
||||
"${ldflags[@]}" "src/mpw-tests.c" -o "mpw-tests"
|
||||
echo "done! You can now use ./$_"
|
||||
}
|
||||
|
Reference in New Issue
Block a user