GetPoplog / Seed

Scripts for getting Poplog onto your Linux machine
MIT License
7 stars 3 forks source link

Rewrite build system (again) #119

Closed willprice closed 2 years ago

willprice commented 2 years ago

This PR rewrites the build system to better track dependencies. It takes a slightly odd approach, using two separate Makefiles to orchestrate the process. The outer Makefile (Makefile in the repo) arranges the source files into _build and copies the inner Makefile (mk_recipes/buildInplace.mk) to _build/Makefile which is then invoked by the targets in mk_recipes/buildManagement.mk (I will happily take suggestions on renaming these files!). The buildManagement.mk file handles the multi-stage build (i.e. building a new corepop, building the 3 different flavours, building the commander). The inner makefile (mk_recipes/buildInplace.mk) handles a build from start to finish and tracks dependencies correctly. The outer makefile still makes use of proxy files to handle ordering.

A few notable changes:

willprice commented 2 years ago

Woo hoo!