Menu

Makefiles

2003-01-17
2012-09-26
  • Nobody/Anonymous

    Hi,
    Are the usual Unix-type makefiles supported by Dev-C++?
    Thanks.

     
    • Nobody/Anonymous

      Yes,

      It depends what you mean by support.

      There is an option to include an external makefile as part of the build process.
      Menu
         Project|Project Options
      Tab
         Makefile

      I used this feature to build yacc and lex files. 

      Regards,
      Willem

       
    • Anonymous

      Anonymous - 2003-01-18

      Under the hood, the Dev-C++ package uses the GNU toolchain, including Make. The project facility creates makefiles and dependencies for you. You can of course create your own makefiles, and execute them from the command line:

      make [options] [-f<makefile>] [<target>]

      Dec-C++ creates a makefile called makefile.win for each project. You can modify this and run it from the command line, but be aware that it is created from the project .dev file and will be re-generated when you build in Dev-C++. So if you modify a Dev makefile, rename it, and understand that it is no longer managed by Dev - you are on your own!

      The Dev generated make file has all the normal targets - clean, all, <project>.exe, <module>.o

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.