In order to compile FPDoc, the following things are needed:
Links to download all these programs can be found on the FPDoc website.
When the fpdoc sources have been unzipped, the Makefile must be generated. Before generating the makefile, the location of the compiler source directory should be indicated. In the Makefile.fpc file, which has a windows ini file format, locate the fpcdir entry in the defaults section:
and change it so it points to the top-level Free Pascal source directory.
After that, running fpcmake will produce the Makefile, and running make should produce 2 executables: fpdoc and makeskel.