mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-28 12:25:19 +01:00
23 lines
320 B
Makefile
23 lines
320 B
Makefile
#
|
|
# To run the demos when linked with a shared library (default):
|
|
#
|
|
# LD_LIBRARY_PATH=../.. ./hkdf
|
|
|
|
CFLAGS = -I../../include -g
|
|
LDFLAGS = -L../..
|
|
LDLIBS = -lcrypto
|
|
|
|
all: hkdf pbkdf2 scrypt
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
hkdf: hkdf.o
|
|
pbkdf2: pbkdf2.o
|
|
scrypt: scrypt.o
|
|
|
|
test: ;
|
|
|
|
clean:
|
|
$(RM) *.o hkdf pbkdf2 scrypt
|