I am trying to create a very basic hand crafted Makefile to create a shared library to illustrate a point.
This is what I have so far:
SHELL = /bin/sh CC
Since you try to build so file, you probably need -shared.
so
-shared