On Thu, Aug 13, 2009 at 10:55 AM, Stephen O'Loughlin
<address@hidden> 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.
Make cares here only about the return code from "xterm". xterm is apparently returning 0 when you close it (which is not unreasonable!).