<div dir="ltr">Hi,<div>A number of compilers have some options to do syntax checking, as well as produce warnings about questionable constructs. Does anyone know a good way to create phony targets based on the normal targets? e.g. in the compile step you pass flags like -warn -syntax-only and skip the linking step, as well as object file dependency checking. Note that I am using Fortran here, so the dependency graph still needs to be considered for the .mod files, which will be produced when -syntax-only is passed, but the object files will not be. It would be great if there was a way to do this, so that I could use flymake-mode in Emacs AND not have to completely build my project every time I save a source code file. (See for example, <a href="https://github.com/alamaison/emacs-cmake-project">emacs-cmake-project</a> on github.)</div>
<div><br></div><div>Thanks,<br clear="all"><div>Izaak Beekman<br>===================================<br>(301)244-9367<br>UMD-CP Visiting Graduate Student<br>Aerospace Engineering<br><a href="mailto:ibeekman@umiacs.umd.edu" target="_blank">ibeekman@umiacs.umd.edu</a><br>
<a href="mailto:ibeekman@umd.edu" target="_blank">ibeekman@umd.edu</a></div>
</div></div>