summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0794737..6189df4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,13 @@
1all: sender receiver 1all: sender receiver
2 2
3INCLUDES=/usr/local/include
4LIBS=/usr/local/lib
5
3sender: sender.c 6sender: sender.c
4 $(CC) -o sender sender.c -lmbedtls -lmbedcrypto 7 $(CC) -o sender sender.c -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS)
5 8
6receiver: receiver.cpp 9receiver: receiver.cpp
7 $(CXX) -std=c++17 -o receiver receiver.cpp -lmbedtls -lmbedcrypto 10 $(CXX) -std=c++17 -o receiver receiver.cpp -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS)
8 11
9clean: 12clean:
10 rm -f sender receiver 13 rm -f sender receiver