[Top][All Lists]

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

dist_bin_SCRIPTS and implicit rules

From: Ineiev
Subject: dist_bin_SCRIPTS and implicit rules
Date: Mon, 28 Jul 2008 13:08:20 +0400

Such a silly
(a sample project is attached; I used automake-1.10.1):

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

# Will this rule cure me?
#       touch $(srcdir)/$@

I am new to Autotools; this effect
was quite unexpected to me.

I am not sure whether the commented out rule
doesn't break the _SCRIPTS that need to be built
or something else.

Or probably can I generally run `make -r'
for automade projects?


Attachment: ns.tar.gz
Description: GNU Zip compressed data

reply via email to

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