Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

makefile functions

807578Jun 27 2009 — edited Jun 27 2009
All;

With gmake, I can make this assignment with intrinsic functions:
TARGETS = $(addsuffix .vof,$(basename ${shell ls gun??/*.pvif}))
but it doesn't work with Sun make/dmake.

I can write this bash script:
ls gun??/*.pvif | sed 's|pvif|vof|' --
to yield the desired results, but don't know how to assign it to "*TARGETS*". (Note: I tried encapsulating in backquotes, but that didn't work)

How should I make my assignment?

...Dan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2009
Added on Jun 27 2009
3 comments
132 views