[Coco] OS-9/6809 makefiles
Allen Huffman
alsplace at pobox.com
Wed Mar 5 13:04:33 EST 2025
On Mar 5, 2025, at 11:57 AM, Jeff Teunissen via Coco <coco at maltedmedia.com> wrote:
>
> I have lots of 'new' makefiles for various things in my 'CoCoC' project, if
> examples are helpful.
>
> For example, <
> https://github.com/Deek/CoCoC/blob/master/Source%2FText%2FGrep%2FMakefile>
> the Grep Makefile builds 3 programs (one of which generates its C source
> from a YACC grammar) and has 'install', 'uninstall' and 'clean' targets to
> install the programs and their help files into the appropriate locations,
> remove the installed files if you want, and clean up the source directory
> so the old object files don't clutter it up.
>
> The same directory contains a 'GNUmakefile' that does all the same things,
> but for the Unix/Linux versions of the programs.
>
> I can also answer questions in my copious free time, heh.
Is the first the native OS-9 one? I do not think I was aware of clean and such back then, but since I posted this plea I found I did indeed use makefiles in my projects… at least a few of the C ones. I will take a look at your examples. If someone don’t have it, I will make a template makefile archive on my GitHub and provide examples to build asm and C and whatever else we might need.
Thanks!
More information about the Coco
mailing list