blob: 179ba7c46f217aa51b4b39e54ccd3481295e0b7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
all: sender receiver
INCLUDES=/usr/local/include
LIBS=/usr/local/lib
sender: sender.c
$(CC) -o sender sender.c -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS)
receiver: receiver.cpp
$(CXX) -std=c++17 -o receiver receiver.cpp -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS)
test: receiver sender
./test-all.sh
clean:
rm -f sender receiver
|