CC=cc USESSL=mbed CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address #CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -DPCLOUD_TESTING UNAME_S := $(shell uname -s) UNAME_V := $(shell uname -v) CFLAGS += -DP_OS_LINUX LDFLAGS += -lssl -lcrypto -lpthread OBJ=overlay_client.o debug.o all: overlay_client fs: overlay_client overlay_client: $(OBJ) $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ) -o overlay_client clean: rm -f *~ *.o