I am using the following command in my makefile:
LOCAL_FILES = $(shell find $(COMMON_PATH)/ -type f -name '*.cpp')
The result are of the following form:
someDirectory/Common/...
I would like the result to not include the someDirectory/ part.
Is that possible?
The
%Pspecifier to-printfwill print the part of the pathname after the search directory.