Files
GmSSL/demos/sm4/Makefile
2018-11-01 11:21:14 +08:00

15 lines
271 B
Makefile

all:
gcc sms4.c -L /usr/local/lib -lcrypto -o sms4
gcc sms4.c -DUSE_RANDOM -L /usr/local/lib -lcrypto -o sms4rnd
gcc sms4evp.c -DMSG_LEN=20 -L /usr/local/lib -lcrypto -o sms4evp
test:
./sms4
./sms4rnd
./sms4evp
clean:
rm -fr sms4
rm -fr sms4rnd
rm -fr sms4evp