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

Makefile: Have the install target depend on all. #27

Merged
merged 1 commit into from Nov 25, 2018

Conversation

orbea
Copy link
Contributor

@orbea orbea commented Nov 25, 2018

Given comment #23 (review) I realized I forgot to consider dependencies. I reviewed a few other projects that also use a static Makefile and found that they have no dependencies on uninstall, but depend on the compiled binary for install.

For maxcso this can be done easily by depending on all, with this make install will now first build the all target if it has not already done.

If make uninstall is used without already being installed rm -f will do nothing.

@orbea orbea changed the title Makefile: Have the install depend on all. Makefile: Have the install target depend on all. Nov 25, 2018
@unknownbrackets unknownbrackets merged commit 0009369 into unknownbrackets:master Nov 25, 2018
@orbea orbea deleted the dep branch November 25, 2018 02:36
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

2 participants