-
Notifications
You must be signed in to change notification settings - Fork 24
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
Can't figure out how to use SUBDIRS_TGTS for more than one level of subdirectories. #22
Comments
Could you take a look at Rules.mk of example 2 in repository? Best regards |
Hmm. Yes, using Thanks, |
I'm not sure I fully understand your need. My guess that in 'a' you want to have a library with all object files from 'a' and all its subdirectories (recursively) - then in a/Rules.mk I would simply put (I'm guessing that .o extension in your example is not intentional and you wanted to collect all objects into archive):
Then all Rules.mk under 'a' could be simple |
Finally catching up on this after a gap of a few months. :-\ Regarding the library vs. object thing... This is an old codebase, and I'm trying to drop in nonrec-make as transparently as possible. Yes, it actually is The Thanks. |
Say I have:
a/Rules.mk:
a/b1/Rules.mk, a/b3/Rules.mk, a/b2/c1/Rules.mk, a/b2/c2/Rules.mk:
a/b2/Rules.mk:
Is there some way to rewrite a/b2/Rules.mk to not need the intermediate target? Maybe something like:
The text was updated successfully, but these errors were encountered: