I’ve managed to solve this problem. As suspected it was truly simple. Below
is the corrected makefile (using GCC).
Find out where SDL is installed to
SDL_CFLAGS := $(shell sdl-config --cflags)
SDL_LIBS := $(shell sdl-config --libs)
LIBS = -I/usr/include/SDL -lSDL_ttf#
Build the “Empiremax” program
CFLAGS = -Wall -pipe -O2 -D"USE_SDL" -I/usr/include/SDL
Empiremax: $(OBJS)
$(CC) $(SDL_CFLAGS) $(CFLAGS) -o Empiremax $(OBJS) $(LIBS) $(SDL_LIBS)