rule SleepThenTouch
{
Clean clean : $(<) ;
DEPENDS first : $(<) ;
}
actions SleepThenTouch
{
sleep 5
touch $(<)
}
actions Compile
{
test -f headerA.h
}
SleepThenTouch generated.h ;
Objects sourceA.c sourceB.c ;
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #2 | 3948 | Matt Armstrong |
Initial branch to play around with bug //guest/matt_armstrong/jam/bug/1/... which shows up with jam 2.5rc3 (perforce public depot change 3108). |
||
| #1 | 3947 | Matt Armstrong |
This directory tree exhibits a bug with Jam 2.5rc3 and -j<N>. There is a generated.h file #included by circularA.h, but sourceB.o is built before generated.h is finished building (despite the fact that sourceB.c #includes generated.h through via several source files). |