CC?= cc SOURCES= ecm.c unecm.c all: build build: .for f in ${SOURCES} ${CC} ${CFLAGS} -o ${f:C/\.c//} ${f} .endfor clean: rm -f ${SOURCES:C/\.c//}