Makefile for using OpenSSL
Makefile for using OpenSSL
In OSX the path to openssl installed via brew is in /usr/local/opt/openssl@1.1
OPENSSL_DIR = <path-to-openssl>
OPENSSL_SUPPORT = -I$(OPENSSL_DIR)/include -L$(OPENSSL_DIR)/lib
main:
gcc -o main.c $(OPENSSL_SUPPORT) -lcrypto