mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-12 03:16:25 +08:00
15 lines
285 B
Makefile
15 lines
285 B
Makefile
all:
|
|
gcc sm3.c -L /usr/local/lib -lcrypto -o sm3
|
|
gcc sm3evp.c -L /usr/local/lib -lcrypto -o sm3evp
|
|
gcc sm3hmac.c -L /usr/local/lib -lcrypto -o sm3hmac
|
|
|
|
test:
|
|
echo "hello" | ./sm3
|
|
echo "hello" | ./sm3evp
|
|
echo "hello" | ./sm3hmac
|
|
|
|
clean:
|
|
rm -fr sm3
|
|
rm -fr sm3evp
|
|
rm -fr sm3hmac
|