-----Original Message----- > From: Anatol Belski [mailto:anatol....@belski.net] [...] > Can you please share what exactly you need it to do? Like the > command sequence or alike, maybe there is already a way to do that.
I need to run the $(MC) command, with the '-um' option, which will create ETW message macros & binary resources. The output is a .h, a .rc and a couple of .BIN files. e.g.: $(MC) -um -e h -h ..\pecl\wincache -r ..\pecl\wincache wincache_etw.man I'm working around the lack of a fragment by running the $(MC) command by hand, an checking in the results to the pecl\wincache directory, and hand-hacking the template.rc to #include the resulting wincache_etw.rc. It kinda works, but it would be better if the building of the ETW resources was automatic with make/nmake. Even better would be to put the rendered .h, .rc & .bin files in the same directory as the .obj's, so they could be cleaned up. The problem there is no way to pass an include directory arg (-I<dir>) to the $(RC) command used for template.rc. Thx! --E.