on second thought, having separate param.h is more convenient
use param.h
improved Makefile to allow compiling modules separately