In Unix, 
(1a) Without building libfunc.a, type 
   make
to create dynamically loaded lib "libsample.dl"
(1b) building libfunc.a, type 
   make -f Makefile_lib
to create dynamically loaded lib "libsample.dl"

In Windows
(2a) Without building func.lib and func.dll, type 
   nmake -f Makefile.win
to create dynamically loaded lib "libsample.dl"
(2a) Building func.lib and func.dll, type 
   nmake -f Makefile_lib.win
to create dynamically loaded lib "libsample.dl"
