Compilation of programs under Windows/Win32
-------------------------------------------

1. libnjb must be compiled with the MinGW Windows compiler, see
   http://www.mingw.org/ install both MinGW and MSYS.

2. libnjb needs libusb-win32, see http://libusb-win32.sourceforge.net
   Depending on what you have on your machine, you have to do
   different things:

   A: If you already have Creative/Notmad software on this machine,
      Install the libusb-win32 filter binary from libusb-win32. An
      installer is available on the file download page for 
      libusb-win32

   B: If you have no Creative/Notmad or otherwise official drivers
      on your machine, you need to install the full driver. Do this
      by downloading the libusb-win32 device binary from libusb-win32.
      Then combine this with the .inf file found in the libnjb source
      tree "windows" directory to create a driver package. Then 
      choose this .inf file, right-click and install, or select it
      when you plug in your device and you're asked for a driver.

3. To compile libnjb you need the libusb-win32 device binary, because
   this binary includes the library itself and the usb.h file. Unzip
   the libusb-win32 driver binary and copy the libusb.a file to 
   something like C:\mingw\lib and usb.h to something like
   C:\mingw\include.

4. Unzip the libnjb sources and run MSYS. Enter the libnjb source dir
   and type "./configure" followed by "make". libnjb should build.
   You can immediately run the samples and verify that it works.

5. Then install libnjb and compile your own programs... By default
   libnjb installs into the local tree (mostly c:\mingw\usr\local)
   which confuse parts of MinGW so perhaps you're better off by
   installing to /usr with "./configure --prefix=/usr".

6. If you make an installer for your Windows program you might want
   to do something that checks for Creatives driver, and if they're
   present will install the filter driver, else installs the device
   driver.
