summaryrefslogtreecommitdiffstats
path: root/demos/encode/Makefile
blob: b88d76b51de353254321be7edea18909dda3587c (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_encode

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

all: ec_encode rsa_encode

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

%_encode: %_encode.o

test: ;

clean:
	$(RM) *.o rsa_encode ec_encode