xref: /openssl/demos/encode/Makefile (revision 86db9588)
1#
2# To run the demos when linked with a shared library (default) ensure
3# that libcrypto is on the library path.  For example:
4#
5#    LD_LIBRARY_PATH=../.. ./rsa_encode
6
7TESTS = ec_encode \
8        rsa_encode
9
10CFLAGS  = -I../../include -g -Wall
11LDFLAGS = -L../..
12LDLIBS  = -lcrypto
13
14all: $(TESTS)
15
16ec_encode: ec_encode.o
17rsa_encode: rsa_encode.o
18
19$(TESTS):
20	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
21
22clean:
23	$(RM) *.o $(TESTS)
24
25.PHONY: test
26test: all
27	@echo "\nencode tests:"
28	@echo "skipped"
29