-
Notifications
You must be signed in to change notification settings - Fork 12
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
Dependent rules issues #11
Comments
Note I can make the second example work by changing it to
I think to make things more compatible with Make would be to parse the other rules as dependencies and not require calling pymake The comment(at least with make dependencies) and the dependency issue could be resolved using the following(possibly hackey) fix
|
Actually same-line dependencies aren't currently supported. From the README:
So this is a feature request rather than a bug |
@casperdcl thanks. I actually have a more robust resolution in the parse of the make file rules. I will open a PR this week for review. I need to verify that the order is preserved in my fix with my test makefiles. Is this a feature that has requested by others beside myself? I currently use this in a development environment for a project where the development team is split across Windows, Linux, and Mac. I have many rules I have that have chains of dependencies that would be useful for my project. I assume others have the same concern. |
I think this would be a useful addition, certainly would be included in |
I have encountered two issues with rule dependencies
The first is with comment after a dependency
The above will fail when running
pymake all
withYou can observe it is attempting to run the command
depa # comment after dependency
The other related issue(I think) it multiple dependencies
which fails with
I suspect there needs to be some parsing happening on the dependencies portion of rules before execution
The text was updated successfully, but these errors were encountered: