2 # To build against an OpenSSL built in the source tree, do this:
4 # make OPENSSL_INCS_LOCATION=-I../../include OPENSSL_LIBS_LOCATION=-L../..
6 # To run the demos when linked with a shared library (default):
8 # LD_LIBRARY_PATH=../.. ./aesccm
9 # LD_LIBRARY_PATH=../.. ./aesgcm
11 CFLAGS = $(OPENSSL_INCS_LOCATION)
12 LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto
20 $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)