SimpleIDE and building with MAKEFILE
LoopyByteloose
Posts: 12,537
This may have been discussed before, but a Google search seems to not find anything.
I have an existing .zip from GITHUB of a rather ambitious C program. Everything is constructed about a Makefile that controls the Build. So how so SimpleIDE deal with the use of Makefile? My context is Debian 7.1.x Linux
I have an existing .zip from GITHUB of a rather ambitious C program. Everything is constructed about a Makefile that controls the Build. So how so SimpleIDE deal with the use of Makefile? My context is Debian 7.1.x Linux
Comments
Of course, porting to the Propeller may be a little more complicated than that, especially for an "ambitious" program. You will probably have to use CMM or XMMC if the program is larger. Does it have hardware dependencies?
But your approach makes a lot of sense. It is certainly easy enough to reassingn the CC and CXX links and to run trial builds to see what the error reports are. (That's the first step.)
I guess what you are saying is that SimpeIDE is best used for GCC without the Makefile. That makes sense to me.
Makefiles are not simple. ;-) Even if you know Makefiles inside and out they can be difficult.
SimpleIDE does not require something so difficult ;-)
There was some thought given to supporting a Makefile mode, but in the end the truth is that most people who use make will use the editor that makes sense to them. Those are the same people who typically would not like SimpleIDE in the first place, so any effort there is totally wasted.
Yes indeed, I can relate quite directly and am trying to eliminate this aspect from my Arduino to Propeller port. So it becomes a project of pruning down unnecessary layers of conditional programing and cleaning up what is less.
Linux documentation has whole tutorials on Make (that is the command to call a Makefile). I am reading that material to help me get rid of the Makefile in my situation.
+++++++++++++++
In many ways I am pleased that SimpleIDE doesn't even try to support Makefiles. Keep it Simple, and new users will acquire confidence faster and likely learn more of the long haul.
An OS like Linux really needs MakeFile as the system is vast, but a Propeller is tiny in comparison.