xref: /freebsd/crypto/openssl/demos/encode/Makefile (revision 96190b4fef3b4a0cc3ca0606b0c4e3e69a5e6717)
1#
2# To run the demos when linked with a shared library (default):
3#
4#    LD_LIBRARY_PATH=../.. ./rsa_encode
5
6CFLAGS = -I../../include -g -Wall
7LDFLAGS = -L../..
8LDLIBS = -lcrypto
9
10all: ec_encode rsa_encode
11
12%.o: %.c
13	$(CC) $(CFLAGS) -c $<
14
15%_encode: %_encode.o
16
17test: ;
18
19clean:
20	$(RM) *.o rsa_encode ec_encode
21