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