Ngspice have to be installed.
The compile script checks for all needed executables, header files and c-files and compiles the codemodel.
% ./compile.shAfterwards, the codemodle can be found under ./codemodel/clk.cm
% ngspice ./test.cirLeave ngspiec interactive mode with quit.