A variable I define thus:

objects:=$(patsubst %.cpp,%.o,$(wildcard  ${CPP_DIR}/*.cpp))

now this will obviously output all the object files in ${CPP_DIR}.

I am trying to have these output in $PWD instead (which may differ
with ${CPP_DIR})
any ideas while sticking to the implicit rules and pathsubst?

-- 
Aditya Kher
http://kher.org


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to