diff --git a/Makefile.am b/Makefile.am
index 1f5e9e0ef9dee4647cb1637277fe925896a35cf2..da1766b8e747d40d6ac9099c989346e9f3d7ea41 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,7 @@ EXTRA_DIST = \
 	mex/sources \
 	uncrustify.cfg \
 	windows/dynare.nsi \
+	windows/mexopts.bat \
 	windows/README.txt
 
 clean-local: