Added winebuild support for generating a .dbg.c file containing the debug channels definitions. Made win32 the default type for spec files. Ignore C compiler in winebuild so we can simply pass it $(DEFS). Removed type win32 and debug_channels from spec files. Fixed winebuild to always generate correct C identifiers (reported by Vincent BĂ©ron).
one comment about this patch: the c correct identifier isn't perfect (program name can start with a digit, whereas C ident can't)
A+