diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,10 +1,13 @@ | |||
1 | all: sender receiver | 1 | all: sender receiver |
2 | 2 | ||
3 | INCLUDES=/usr/local/include | ||
4 | LIBS=/usr/local/lib | ||
5 | |||
3 | sender: sender.c | 6 | sender: sender.c |
4 | $(CC) -o sender sender.c -lmbedtls -lmbedcrypto | 7 | $(CC) -o sender sender.c -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS) |
5 | 8 | ||
6 | receiver: receiver.cpp | 9 | receiver: 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 | ||
9 | clean: | 12 | clean: |
10 | rm -f sender receiver | 13 | rm -f sender receiver |