bug-make
[Top][All Lists]
Advanced

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

% pattern doesn't work


From: Yan Zhao OL Liu
Subject: % pattern doesn't work
Date: Fri, 19 Feb 2016 09:18:04 +0000

Hi make owners  :),
 
Recently I got a problem in using make.
My code segment is below:
---------------------------------------------------------------------------------
$(RELEASE_DIR)/temp/%.o: %.cpp
    ${CC} ${CFLAGS} -c -o $@ $<;
---------------------------------------------------------------------------------
 
For the above code, I just want all the generated object files redirected to $(RELEASE_DIR)/temp directory,
but these object files are all directed to $(RELEASE_DIR) directory.
 
Is it a design issue or a bug? Hope you can clarify and help me.
 
Regards,
Yan Zhao Liu.
------------------------------
Platform Computing Symphony Software Developer at IBM
-------------------------------


reply via email to

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