Using IntelliJ IDEA for a project using Makefile

An existing Java project uses makefiles (which in turn use ANT).

I want to work on this project using IntelliJ IDEA. However, there are no special IntelliJ files, for example. project files should be checked for version control.

How to set up a project so that:

  • Makefiles can be run from IntelliJ IDEA.
  • Change Build > Make Project so that it does not do anything or run any target (in the makefile). I do not want the standard compilation behavior in ./bin , as this could potentially conflict with makefiles.
+5
source share

Source: https://habr.com/ru/post/1246407/


All Articles