Easy2Makefile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2154 from 2003/4/10
    From: France
    Hello,

    i would like to start a new projet: Easy2Makefile

    I start to develop in C on do port for MorphOS and i think this tool should be usefull:

    It will be a GUI realized with Hollywood to select some options

    - files to compile (c or cpp)
    - includes (to add manually or to check)
    - libraries (to add manually or to check)
    - flags (to add manually or to check)
    - destination for objects (.d, .o)
    - destination for exe

    It could generate a Makefile automatically after the selection of differents options.
    Possibility to remove all files created too.
    Maybe others options could be added (i don't know all about c...)

    What do you think about this project?
  • »13.09.24 - 14:24
    Profile Visit Website
  • Moderator
    Kronos
    Posts: 2304 from 2003/2/24
    Before you go head on in on such a project you should check what is already available in that regard.
    So look how FlowStudio creates and maintains makefiles and how the underlying GNU tools work.

    Includes should not be manually added to a makefile, just the search paths (for nonstandard ones).
    Makefiles should have a "depend" target to make sure files get flagged for recompile if an include had been changed or added to a source file.

    GUI part would then be more or less down to what you can do in the "Project" menu in FlowStudio and IMO it would be nice if your tool would spit out FlowStudio projects as an option.
  • »13.09.24 - 14:43
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2154 from 2003/4/10
    From: France
    @Kronos : sorry, my first post was not very clear, i have changed.

    ok for FlowStudio, i must investigate that for my small c projet, thanks.

    I thank a tool dedicated to do portage i think, not create a big project from 0.

    Maybe i should change name to Easy2Port :-)
  • »13.09.24 - 15:06
    Profile Visit Website