On Wed, Dec 8, 2010 at 7:23 AM, Greg Chicares <[email protected]> wrote:
> I'd change the makefile:
>
> - fi
> - @echo ${message}, $${message}, $message, $$message, eval $$message
> + fi; \
> + echo ${message}, $${message}, $message, $$message, eval $$message
Though it doesn't matter in this case, using ";" to join lines is a
bad and way-too-common pattern because it breaks basic make semantics.
Normally in the case
target:
line 1
line 2
make will fail if line 1 fails. Joining lines with ";" will change
that (unless you're using 3.82+ and running in POSIX mode). It's
almost always preferable to join lines with "&&". Consider
clean:
cd $(TMP_DIR) ;\
rm -rf *
-David Boyce
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make