omake has two kinds of support for response files: automatic response files, where omake determines when to build a response file, or inline response files, where statements that create response file creating statements are written in the makefile.
Response files can also be coded inline in your makefile. For example:
project.dll:$(OBJS)
link @<<
$(OBJS)
/out:$(.TARGET)
$(.TARGET)
<<
The link program is invoked as link @response_file, where response_file is a name generated by omake. The response_file contains:
main.obj io.obj /out:project.exe
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |