diff --git a/AGENTS.md b/AGENTS.md index 72674e63..5288e809 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -80,6 +80,8 @@ SnapRAID is designed to recover from an interruption, including `SIGKILL`, at an - `uncrustify.cfg`: Code formatting rules for main application source files - `linux.cfg`: Code formatting rules for `raid/` directory and its subdirectories - Run `make doc` to regenerate all manual pages (`*.1`) and text manuals (`*.txt`) +- To cross-compile for Windows x64: run `make clean && ./configure.windows-x64 && make` +- Always run `make clean` when switching build configurations or targets between Linux (`./configure`) and Windows (`./configure.windows-x64`) ## Code Style Guidelines