[SDL] Anjuta

Jorge L.Martin C. explorer at cwp.net.pa
Mon Nov 24 06:31:02 PST 2003

I compile well under Anjuta, did you make a MakeFile?

My makefile looks like..

CFLAGS=-W -Wall -ggdb `sdl-config --cflags` -ggdb
LIBS=-lpq -lm `sdl-config --libs` -lSDL_image -lSDL_ttf
OBJS=funciones.o db.o gui.o status_thr.o main.o fps.o efectos.o
default: $(OBJS)
        $(CC) $(CFLAGS) $(OBJS) -o Game $(LIBS)
        rm -f $(OBJS)
        rm -f Game $(OBJS)
        rm -f *~
main.o:  main.c
        $(CC) $(CFLAGS) -c main.c
gui.o: gui.c
        $(CC) $(CFLAGS) -c gui.c
db.o: db.c
        $(CC) $(CFLAGS) -c db.c


On Fri, 2003-11-21 at 19:44, NighTiger wrote:
> Hi,
> how can I compile a SDL project with Anjuta?
> For now I can only compile the main.cc file and the others files into
> the project isn't compiled.
> Anybody know why?
> With DiaSCE2 I haven't any problem
> bye

More information about the SDL mailing list