Re: NOTE: Compiling my 1st GTK+ program
- From: Tor Lillqvist <tml iki fi>
- To: EscalanteCanada netscape net (Maya)
- Cc: gtk-app-devel-list gnome org, "\"Alan M. Evans\"" <ame1 extratech com>
- Subject: Re: NOTE: Compiling my 1st GTK+ program
- Date: Thu, 26 Aug 2004 22:53:11 +0000
Maya writes:
LDFLAGS = `pkg-config --libs gtk+-2.0`
No. That should be called LIBS or something like that.
$(CC) $(LDFLAGS) $(OBJS) -o $(EXEC)
and be placed last on the linker command line.
It is also customary to put the -o and ouput file name before the
object files. One should strive to follow established conventions,
unless one has good reasons not to and knows what one is doing.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]