compile one or more *.cpp files into a shared library you can create and export the variable PLUMED_MKLIB_CFLAGS with some extra compile time flags to be used you can create and export the variable PLUMED_MKLIB_LDFLAGS with some extra link time flags (and libraries) to be used
ERROR type 'plumed mklib file1.cpp [file2.cpp etc]'