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
The solution was to modify the XXFLAGS as follows:
FLAGS = # -std=gnu99 -Iinclude CFLAGS = -fPIC -g #-pedantic -Wall -Wextra -ggdb3 LDFLAGS = -shared