I successfuly generated and built the C code on Mac, where my Matlab (Coder) license is, but when trying to build for the taget platform (Intel/Linux) the produced executable still, it seem to be is one on Mac. It still runs on Mac - although I selected the "Device (Production)" to be Interl/Linux. The produced makefile (.mk) also still has references to MATLAB installation folder so even the makefile needs some rework to be able to run the build on Linux (by using the generated source code). Please, is there anything I might be missing in terms of configuring the Coder etc? The GUI seems to be supporting this option in very obvious way, but as far as I can see it does not work as expected.