CC=gcc CFLAGS=-O2 -march=x86-64-v3 -fPIC -shared rel: $(CC) ${CFLAGS} ./libpcdlltest.c -o libpcdlltest.so -lpthread clean: rm ./libpcdlltest.so