Easy2Makefile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2180 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: 2313 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: 2180 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
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2180 from 2003/4/10
    From: France
    This is the features of Easy2Makefile or Easy2Port, it's an improvement of Easy2Compile (maybe i will keep this name...):

    - load sources in a lister
    - load includes in another lister
    - click on file to see file contents
    - double-click to edit with FlowStudio (possibility to go to a specified line in the same time)
    - buttons to tick dependencies (SDL1, SDL2, OpenGL, etc...)
    - buttons to add others flags (-fsigned-char for example)
    - create Makefile with informations selected in the GUI (paths, executable name, dependencies, flags)
    - execute Makefile
    - see the log of the Makefile
    - clean created files (build directory)
    - possibility to build in RAM:

    Others features are possible of course, don't hesitate to propose them.
  • »28.09.24 - 16:45
    Profile Visit Website