summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2021-01-18 17:04:55 +0100
committerDirk Engling <erdgeist@erdgeist.org>2021-01-18 17:04:55 +0100
commitb1034a4590637d87aee7e047c57248fe9e14d05b (patch)
treea96901bf2e55c60e7bc90bab5e933d61bb716206
parent930b8f18e604ab9b4b358c147676bfb3c8e7c503 (diff)
Help find headers and libs on FreeBSD
-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