Ed Avis <[EMAIL PROTECTED]> writes: >You could look at what DJGPP does - I think it uses the @ convention, >ie you run > >% foo @args > >and the file 'args' is read by program foo and taken as arguments. I >don't know how this interacts with make, exactly.
I guess (wildly) that DJGPP's C runtime treats @word specialy - it reads the file and inserts things into the argv that it passes to the program. Which is fine _if_ the program you are calling has been compiled that way. But it does not work for perl itself and various compilers (gcc, vc++, borland) probably don't work like that either. (VC++ and Borland have schemes for reading extra command line from files - I don't remember if they use '@' as the marker.) However, that scheme just illustrates the point nmake and dmake have tricks that allow you to write a "command line" to a temp file. What we need for GNU make is something like Randy's macros.