CC=clang

# if you installed wolfssl to /usr/local please make sure the path to
# /usr/local/include is in your -I path and /usr/local/lib is in your
# LD_LIBRARY_PATH

WOLFSSL_INSTALL_DIR = /usr/local
CFLAGS=-Wall
LIBS=-L$(WOLFSSL_INSTALL_DIR)/lib -lwolfssl

all:start-server

start-server:file-server.o
	$(CC) -o $@ $(LIBS) $^ $(CFLAGS)

.PHONY: clean all

clean:
	rm -f *.o file-server.o start-server
