On Thu, Aug 13, 2009 at 10:55 AM, Stephen O'Loughlin <
[email protected]> wrote:

> Say I have a makefile with the following...
>
> file4.txt: file3.txt
>        xterm -e "sleep 4 ; touch file4.txt"
>
> file1.txt:
>        xterm -e "sleep 4 ; touch file1.txt"
>
> file2.txt: file1.txt
>        xterm -e "sleep 4 ; touch file2.txt"
>
> file3.txt: file2.txt
>        xterm -e "sleep 4 ; touch file3.txt"
> ...
>
supposed to build file2.txt.  I would end up with file1.txt, file3.txt
> and file4.txt, which isn't what I would expect or what I want.
>  <http://lists.gnu.org/mailman/listinfo/help-make>


Make cares here only about the return code from "xterm". xterm is apparently
returning 0 when you close it (which is not unreasonable!).



-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to