And that's where I got in catch 22, since my dependency files were erranous (included files removed in cvs). It couldn't rebuild TPIKE_TARGETS, so it couldn't recreate the dependency files.
I suggest that the dependency targets needed for TPIKE_TARGETS is differentiated from the ones needed for post_modules (etc?), so that you can rebuild them without a catch 22. The target also seems to contain lots of magic to do that already, but it's obviously never used.
/ Mirar
Previous text:
2003-01-05 20:53: Subject: depend
Yes, there's a note about that in README-CVS:
Note about the depend target: Dependencies are typically between *.c files and the *.h files they include. Since many *.c files are generated from other input, the depend target often trigs other targets to generate them. Some of those targets use the pike binary in the build tree, so if you do make depend before pike is first built in a new build tree, you're likely to end up building everything. That can seem like a bit of catch 22, but since the dependency files are only needed to correctly rebuild in an old tree, it's perfectly ok to wait with make depend until you have built Pike once.
/ Martin Stjernholm, Roxen IS