Maybe I missed something here but why do you need bin2res at all? WRC can compile the resources to be linked by windres/MS_VC. We have the #ifdef WINE in regedit because the ReactOS people are lazy and havent merged wrc in to our CVS yet. I build these applications all the time on Windows using MSYS and Cygwin. I really dont think we need to support yet another way to build on Windows when you already have MSYS/Cygwin or MS_VC and none of them work 100% right.
Thanks Steven
--- Alexandre Julliard julliard@winehq.org wrote:
"Dimitrie O. Paun" dpaun@rogers.com writes:
I'm definitely missing something here. I figured that if we have a file called rsrc.rc with 3 embedded bitmaps in it called bitmap[123].bmp, we need a rule like so:
bitmap1.bmp bitmap2.bmp bitmap3.bmp: rsrc.rc bin2res !<
That can be generated automatically, but from what you're saying it will not work. Care to elaborate a bit?
I thought you were talking about doing it in make depend, and this won't work. Now if you want to generate it directly into the Makefile.in then of course that's possible, but I don't think we want to generate rules, these belong in Make.rules. What you could do is have bin2res output a simple "RCBINARIES = bitmap1.bmp bitmap2.bmp" that we can then paste into the Makefile.in.
__________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com