% pattern doesn't work

2016-02-19 Thread Yan Zhao OL Liu
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 $@ $<; -

Re: % pattern doesn't work

2016-02-19 Thread Paul Smith
On Fri, 2016-02-19 at 09:18 +, Yan Zhao OL Liu wrote: > 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