Skip to content
New issue

Have a question about this project?Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of serviceand privacy statement.We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile based build system? #26

Open
createthisopened this issue Dec 24, 2012 · 1 comment
Open

Makefile based build system? #26

createthisopened this issue Dec 24, 2012 · 1 comment

Comments

@createthis
Copy link

Any interest in a Makefile based build system?

The advantage would be the ability to not recompile/rebuild files that haven't changed. I think right now./make_machine.py always rebuilds everything, and it takes quite a while to run, even on a very modern/powerful machine.

Just curious.

@nophead
Copy link
Owner

nophead commented Dec 24, 2012

The problem is the way the code is structured it would rebuild everything anyway. The configuration and the vitamins are included in every file. Main includes everything, directly or indirectly and that is the file that make_machine compiles to make the sheets.

I only run it when I am doing a release and that runs it three times with a different config, so everything is compiled thee times.

When I am working on changes I just use openscad to see the effect and that has a reasonable dependency and incremental build scheme so it is very slow to open but quicker to make changes once open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants