Robert Reif reif@earthlink.net writes:
I need to generate a dinput.a to access the variables just like dinput.lib on windows. The problem is how do you generate a library and dll from the same source code in the same directory? The Makefiles only have a single target (.a or .so).
This is not possible, Winelib doesn't use .a files as import libraries, so even if you somehow generate that .a library it wouldn't do what you expect.