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