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