Simplest way to bundle compiled app for dissemination

Hello there,

I would like to disseminate my compiled app to another Ubuntu computer.

This other computer will have a fresh Ubuntu install.

What is the easiest way to do this?
Should I run the script install_dependencies.sh to have all dependencies installed for example?

Also I would like to be able to put the “/data” folder inside the compiled app file.
On OSX, in xCode at the end of the compilation I run a script to copy the data folder to the .app itself and in the setup() I use the command ofSetDataPathRoot() to use this new data location.
Is there a way to do that with code::blocks or with makefile?

Thank you.