to compile libpcxf.dll on windows: 
you may have to put '__declspec(dllexport)' before all the prototypes in the extern "C" block in pcxf.h 
and disable the use of precompiled headers to make this compile usefully in visual studio.
also, you will probably have to copy the resulting 'libpcxf.dll' as well as 'alphabit.pcx' and 'palette.gpl' to wherever they are needed.

to compile libpcxf.so on linux:
run 'make' and 'make install'
