one-file
compiles, appends source file that contains compile instructions
...That source contains command line options to extract that source, as well as the command line used to compile said source.
There are no hard and fast rules, except "name-1f", must append source, and source must contain compile time command, and any "depends" info.
one-file (1f) is based on an original idea implemented in the late 1990's Windows app SpASM32, a self editing & self compiling 32bit windows assembler, that attached its source to itself, or a programs source code to the resulting programs compiled binary.
Either download all sources in the zip, or get the individual source files from the project homepage.
...