Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Дмитро on April 03, 2020, 10:03:40 pm

Title: Makefile.am for Code::Blocks
Post by: Дмитро on April 03, 2020, 10:03:40 pm
Hello everyone! I have raw OpenMPI codes that I now want to compile. There I see the Makefile.am file. Please provide in all the smallest details how to compile which project to create for me or not to create, as I am correct to use this Makefile.am file and other settings. Windows is my seventh, my GCC TDM compiler, sort of.



Why should I create a project, at least some project (empti project) in order to then add make-up files to it? Without a project, I can't just open a Makefile.


In Code:: Blocks, I create a project (an empty project),
then I add Makefile.am (Project - >Properties->add custom makefile)
Error E:\OpenMPI\ompi-master\Makefile.am/28/examples/Makefile.include: No such file or directory|
28:  -----   include examples/Makefile.include // This is the same line
Makefile.include is exactly there that is E:\OpenMPI\ompi-master\examples\Makefile.include




Created an empty project and downloaded the Hello world. Also added to empty project Makefile.am. I compile and there is an error.
https://github.com/cirosantilli/linux-cheat/tree/63278c7ac22721f7fa089cba32e93adf87724e3c/autotools/hello-world

hello-world\Makefile.am Debug
mingw32-make.exe: *** No rule to make target 'Debug'.  Stop.







Title: Re: Makefile.am for Code::Blocks
Post by: oBFusCATed on April 04, 2020, 10:10:39 am
Yes you have to create a project. Writing a makefile parser is a tough job and we won't do it.