The following makefile does not work as expected. # put this file into an empty directory, then run # make prepare # make error # # I expected an # echo b # but got a simple # echo # # I suspect the variable $? is not correctly expanded in a double-colon rule
.SUFFIXES: dumnmy: error: double double:: a echo $? double:: b echo $? a: b: prepare: rm -f b touch a sleep 1 touch double # "make -v" gives the following text: GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for x86_64-unknown-linux-gnu -- Erwin Unruh IP SW LP AD 2 Fujitsu Siemens Computers GmbH Domagkstrasse 28 D-80807 München Telefon: +49 (0)89 3222 3825 Telefax: +49 (0)89 3222 3802 Email: mailto:erwin.un...@fujitsu-siemens.com Internet: http://www.fujitsu-siemens.de Firmenangaben: http://www.fujitsu-siemens.de/imprint.html _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make