Re: trauma spliting source into multiple files and applying autotools



On Wed, 22 Jul 2009 15:08:04 +0200
Nicola Fontana <ntd entidi it> wrote:

Il giorno Wed, 22 Jul 2009 17:20:06 +1000
Mick <mickhowe bigpond net au> ha scritto:

src/Makefile.am
------------------------------------------------------
bin_PROGRAMS = nuchimp

nuchimp_SOURCES = \
    callback.c callback.h \
    main.c main.h 

AM_CPPFLAGS = $(GTK_CFLAGS)
AM_LDFLAGS = $(GTK_CFLAGS)

You should use:

AM_LDFLAGS = $(GTK_LIBS)

Many thanks, plugged in brain, typed it correctly and I'm back in
business



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]