User forums > Using Code::Blocks

Makefile export (Linux)

(1/1)

DragonSt0rm:
RC2-Linux.

I generated Makefile from a project and the target for executable was set to be the full path: /home/user/Projects/PrjName/filename

Well, this is not OK.  I unziped the distribution on another machine to compile the program with makefile and it complained that the
path does not exist.  Of course, I do not have the Project folder on that machine.

As a rule, paths should always be relative. I assume this is an easy fix.

Anyhow, keep up the good work. I become a fan of C::B :-)

Navigation

[0] Message Index

Go to full version