$(notdir NAMES...)
all: @echo "$(notdir file1.c file2.txt /home/beyes/ test.h /root/)"
$ make file1.c file2.txt test.h