9086/boot_code/Makefile

19 lines
521 B
Makefile

SOURCE=brainfuck.asm brainfuck_mandelbrot.asm brainfuck_compiled.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}
brainfuck.bin: brainfuck_interpreter_v0.asm
brainfuck_mandelbrot.bin: brainfuck_interpreter_v0.asm
brainfuck_compiled.bin: brainfuck_compiler_v1.asm
include ../common.mk
clean:
$(call QUIET_CLEAN,boot_code)
${Q}rm -f $(BUILD_FILES) *lxt