2023-02-19 21:42:59 +00:00
|
|
|
SOURCE=brainfuck.asm brainfuck_mandelbrot.asm brainfuck_compiled.asm
|
2023-02-16 01:46:22 +00:00
|
|
|
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}
|
|
|
|
|
2023-02-19 00:20:53 +00:00
|
|
|
brainfuck.bin: brainfuck_interpreter_v0.asm
|
|
|
|
brainfuck_mandelbrot.bin: brainfuck_interpreter_v0.asm
|
2023-02-19 21:42:59 +00:00
|
|
|
brainfuck_compiled.bin: brainfuck_compiler_v1.asm
|
2023-02-19 00:20:53 +00:00
|
|
|
|
2023-02-22 01:51:14 +00:00
|
|
|
NO_ASM=0
|
2023-02-16 01:46:22 +00:00
|
|
|
include ../common.mk
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(call QUIET_CLEAN,boot_code)
|
|
|
|
${Q}rm -f $(BUILD_FILES) *lxt
|