]> git.ipfire.org Git - thirdparty/openssl.git/blame - demos/encrypt/Makefile
demo: Fix makefile target
[thirdparty/openssl.git] / demos / encrypt / Makefile
CommitLineData
35530b11
SL
1#
2# To run the demos when linked with a shared library (default):
3#
4# LD_LIBRARY_PATH=../.. ./rsa_encrypt
5
6CFLAGS = -I../../include -g
7LDFLAGS = -L../..
8LDLIBS = -lcrypto
9
10all: rsa_encrypt
11
12%.o: %.c
13 $(CC) $(CFLAGS) -c $<
14
67bfdfa1 15rsa_encrypt: rsa_encrypt.o
35530b11
SL
16
17test: ;
18
19clean:
20 $(RM) *.o rsa_encrypt