summaryrefslogtreecommitdiffstats
path: root/demos/encrypt/Makefile
blob: 1735640b3f232e15c7cc3fbd8e50355a7003d9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# To run the demos when linked with a shared library (default):
#
#    LD_LIBRARY_PATH=../.. ./rsa_encrypt

CFLAGS = -I../../include -g
LDFLAGS = -L../..
LDLIBS = -lcrypto

all: rsa_encrypt

%.o: %.c
	$(CC) $(CFLAGS) -c $<

rsa_encrypt_ec: rsa_encrypt.o

test: ;

clean:
	$(RM) *.o rsa_encrypt