17 lines
274 B
Makefile
17 lines
274 B
Makefile
|
CC=cc
|
||
|
CFLAGS= -g -I../../include
|
||
|
LIBS= -L../.. ../../libssl.a ../../libcrypto.a
|
||
|
EXAMPLES=saccept sconnect
|
||
|
|
||
|
all: $(EXAMPLES)
|
||
|
|
||
|
saccept: saccept.o
|
||
|
$(CC) -o saccept saccept.o $(LIBS)
|
||
|
|
||
|
sconnect: sconnect.o
|
||
|
$(CC) -o sconnect sconnect.o $(LIBS)
|
||
|
|
||
|
clean:
|
||
|
rm -f $(EXAMPLES) *.o
|
||
|
|