See examples/make/ for a trivial Makefile.
It preprocesses
*.src
→*.php
files.Recursively scans subfolders for input
.src
files.Can predefine a main
config.h
include etc.Or just set default phrep options.
Though for most projects even a Makefile is overkill. Rather prefer small shell scripts if you want to preprocess files repeatedly / or just once in a while.