C_FILES=$(shell find . -name '*.c') TARGETS=$(basename ${C_FILES}) all: ${TARGETS} clean: rm -f ${TARGETS}