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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Are the usual Unix-type makefiles supported by Dev-C++?
Thanks.
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
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