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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Makefiles for Examples #2127

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TheBrokenRail
Copy link
Contributor

This changes the Makefiles so that they now build incrementally. Previously if you wanted to rebuild an example yo would have to manually delete the binary, and rebuild the entire example, including duktape. This will only rebuild the files that have changed, so duktape will no longer be rebuilt every time, as well, as no longer requiring the user to delete the output binary manually when they want to rebuild the example. It changes the name of the output binary of Makefile.dukdebug from duk to dukd so that the command line example and the debug command line example don't produce the same binary.

@TheBrokenRail
Copy link
Contributor Author

Any thoughts @svaarala?

@TheBrokenRail
Copy link
Contributor Author

You can build the Duktape REPL with debugger support for Windows with make -f Makefile.dukdebug WINDOWS=1 and build the normal Duktape REPL with linenoise with make -f Makefile.cmdline LINENOISE=1.

@TheBrokenRail
Copy link
Contributor Author

@svaarala

@TheBrokenRail
Copy link
Contributor Author

Should I close this?

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

Successfully merging this pull request may close these issues.

None yet

1 participant