>  CFLAGS  = `pkg-config --cflags --libs gtk+-2.0 glib-2.0 gthread-2.0` -lm

Please don't do spread this `pkg-config --cflags --libs` meme.
Although it works on Linux with ELF, in general one should put the
compiler flags close to the beginning of the command line, before
source files, and library flags after the object files.

Use separate CFLAGS (output of pkg-config --cflags) and LIBS (output
of pkg-config --libs). Then your makefile will work also on more
traditional Unix systems.

--tml
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to