all: sender receiver INCLUDES=/usr/local/include LIBS=/usr/local/lib sender: sender.c $(CC) -o sender sender.c -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS) receiver: receiver.cpp $(CXX) -std=c++17 -o receiver receiver.cpp -lmbedtls -lmbedcrypto -I$(INCLUDES) -L$(LIBS) test: receiver sender ./test-all.sh clean: rm -f sender receiver