The enclosed file provides a way to use response files on umk.
A response file is a file that includes the arguments to an executable on a different line. They are usually delimited by a @ at the start of the file name. If for example you want to run
umk examples Bombs MINGW -ab +GUI,SHARED
you can create a response file (name it bombs.rsp)
examples
Bombs
MINGW
-ab
+GUI,SHARED
And simply call
umk @bombs.rsp
instead. This is useful if you have multiple configurations and do not want to remember all options.
The code has the drawback that only one option can be specified on each line.
The source code can be used to replace
uppsrc/umk/umake.cpp
Good idea, but I think I will do a somewhat different implementation... Besides, I guess we need "parse commandline into argv" elsewhere too (with that, implementation will be trivial).