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
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20031121/ad06e10b/attachment.pgp
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
CC=gcc
default: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o Game $(LIBS)
rm -f $(OBJS)
clean:
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