-
-
Notifications
You must be signed in to change notification settings - Fork 64
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 Makefile #245
Rewrite Makefile #245
Conversation
WIP:
But all the rest should be good. Try |
- Binary generation done - Release archive generation done
This is not intended to stay. Will refactor in a separate PR.
Hi @cyqsimon, I will review this soon. Have been a bit busy past few days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, can we add support for darwin-x86 to close off Please provide static build for windows-arm64, linux-arm64, darwin-x86 · Issue #243 · pouriyajamshidi/tcping (github.com)?
Thanks in advance
Otherwise `pushd` and `popd` won't work. Co-authored-by: Pouriya Jamshidi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cyqsimon Thank you for the professional job!!
Describe your changes
Rewrite Makefile to rely less on
.PHONY
targets.While working on the logic problem in #242, I found the current Makefile setup to be quite clumsy. No offence to the previous author, but it seems to me that it's quite hastily cobbled together. Lots of unnecessary code duplication and under-utilisation of the strengths of make (specifically, its focus on file generation).
So I decided to overhaul the whole thing. A bit drastic, but I believe it's for a good cause.
Issue ticket number and link
Closes #242.
Checklist before requesting a review
make check
and there are no failures.Type of change
Please delete options that are not relevant.