CC=gcc CFLAGS=-fPIC -I../../lib OBJ=../test.so main: $(CC) -shared -o $(OBJ) $(CFLAGS) ./test.c @echo "All Done!"