automake
[Top][All Lists]
Advanced

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

Re: performing pre-build shell commands with automake


From: Wesley Smith
Subject: Re: performing pre-build shell commands with automake
Date: Sun, 20 Jun 2010 22:34:47 +0200

I also tried using lcairo.lo, which triggered the preliminary shell
commands but barfed because the commands didn't generate lcairo.lo.
hmm..  Is there a way to print out what rules were invoked during a
make invocation?

wes

On Sun, Jun 20, 2010 at 10:14 PM, Wesley Smith <address@hidden> wrote:
>>>
>>> consumer.o: resource.qt
>>
>
> How does one do this kind of thing when the source file is specified
> in a subfolder?
> INCLUDES = -I/usr/include/lua5.1 -I/usr/include/cairo
> -I/usr/include/directfb -I/usr/include/freetype2
>
> lib_LTLIBRARIES = cairo.la
> cairo_la_LDFLAGS = -module -avoid-version
> cairo_la_LIBADD = -llua5.1 -L/usr/lib -lcairo -L/usr/lib -ldirectfb
> -L/usr/lib -lfreetype -L/usr/lib
> cairo_la_SOURCES = src/lcairo.c
>
> resource.qt:
>        touch TESTING
>
> lcairo.o: resource.qt
>
>
>
> lcairo.o never gets triggered here.  If I explicitly do make lcairo.o
> then it will get triggered, but I'm not sure from scanning the
> Makefile and Makefile.in how it would get implicitly triggered.
>
> wes
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]