help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

customizing implicit rules


From: Aditya Kher
Subject: customizing implicit rules
Date: Tue, 23 Oct 2007 17:19:08 +0900

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]