[SDL] (problem solved)
A.L.Moore
lmoore67 at hotmail.com
Tue Mar 27 01:11:25 PDT 2007
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)
More information about the SDL
mailing list