automake
[Top][All Lists]
Advanced

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

Re: dist_bin_SCRIPTS and implicit rules


From: Ralf Wildenhues
Subject: Re: dist_bin_SCRIPTS and implicit rules
Date: Mon, 28 Jul 2008 19:56:04 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Ineiev,

* Ineiev wrote on Mon, Jul 28, 2008 at 11:08:20AM CEST:
> dist_bin_SCRIPTS=src/foo
> bin_PROGRAMS=bar
> bar_SOURCES=src/bar.c src/foo.c
> #When src/foo.c is newer than src/foo,
> #GNU make applies it's implicit rule, like this:
> # gcc -g -O2    ../ns/src/foo.c   -o src/foo

Yep.  Kinda ugly.  You should be able to work around it by adding
an empty rule:

  src/foo: ;

Cheers,
Ralf




reply via email to

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