SOURCE=$(shell ls |grep asm$) BINARIES=$(subst .asm,.txt,${SOURCE}) BUILD_FILES=${BINARIES} BUILD_FILES+=$(subst .asm,.memdump,${SOURCE}) BUILD_FILES+=$(subst .asm,.lx2,${SOURCE}) BUILD_FILES+=$(subst .asm,.bin,${SOURCE}) all: ${BINARIES} include ../common.mk clean: $(call QUIET_CLEAN,boot_code) ${Q}rm -f $(BUILD_FILES) *lxt