summaryrefslogtreecommitdiffstats
path: root/demos/eay/Makefile
blob: 2d22eaca569d3d1f2d56ec657d5b5cdf7012320d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CC=cc
CFLAGS= -g -I../../include
#LIBS=  -L../.. -lcrypto -lssl
LIBS= -L../.. ../../libssl.a ../../libcrypto.a

# the file conn.c requires a file "proxy.h" which I couldn't find...
#EXAMPLES=base64 conn loadrsa
EXAMPLES=base64 loadrsa

all: $(EXAMPLES) 

base64: base64.o
	$(CC) -o base64 base64.o $(LIBS)
#
# sorry... can't find "proxy.h"
#conn: conn.o
#	$(CC) -o conn conn.o $(LIBS)

loadrsa: loadrsa.o
	$(CC) -o loadrsa loadrsa.o $(LIBS)

clean:	
	rm -f $(EXAMPLES) *.o