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