Randy Kao wrote:
ALLFILES := $(shell find . -type f)
I did it this way:
SRCS=$(shell find . -name "*.cpp" -or -name "*.c" | sed -e 's/^\.\///')
Adjust accordingly.
EDITEDFILES := $(patsubst ./,,$(ALLFILES))
should be: EDITEDFILES := $(patsubst ./%,%,$(ALLFILES)) _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
