summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2021-01-18 18:09:01 +0100
committerDirk Engling <erdgeist@erdgeist.org>2021-01-18 18:09:01 +0100
commit65893f92587da92fb1adc501c15d19b84ffa9089 (patch)
tree298cec360c9f6e149a787baf7d8189ffb5fc0080 /Makefile
parent96f643602fde2bd3a9c759fe37d9f2ed50c218b0 (diff)
parentbf583fdb2a0b8578772c2948eb9e86edc4f9dfe9 (diff)
Fixed merge conflict
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 179ba7c..8a7ed87 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,14 @@ all: sender receiver
2 2
3INCLUDES=/usr/local/include 3INCLUDES=/usr/local/include
4LIBS=/usr/local/lib 4LIBS=/usr/local/lib
5CXXFLAGS=-Wall
6LDFLAGS=-lmbedtls -lmbedcrypto
5 7
6sender: sender.c 8sender: sender.c
7 $(CC) -o sender sender.c -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS) 9 $(CC) -o sender sender.c $(LDFLAGS) -I$(INCLUDES) -L$(LIBS)
8 10
9receiver: receiver.cpp 11receiver: receiver.cpp
10 $(CXX) -std=c++17 -o receiver receiver.cpp -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS) 12 $(CXX) -std=c++17 -o receiver receiver.cpp $(LDFLAGS) -I$(INCLUDES) -L$(LIBS) $(CXXFLAGS)
11 13
12test: receiver sender 14test: receiver sender
13 ./test-all.sh 15 ./test-all.sh