Files
super6502/sw/Makefile
Byron Lathi aa717685e3 Use our own toolchain instead of the one in the image
Now that we are adding our own target we can compile our own toolchain
instead of using the stock one. This does mean that there isn't really a
purpose to using the alpine cc65 image though
2022-04-20 12:41:20 -05:00

22 lines
388 B
Makefile

.PHONY: all install bootloader kernel clean
all: toolchain bootloader kernel
install: all
sh script/format_disk.sh
sh script/copy_files.sh
toolchain:
@$(MAKE) -j4 -C cc65
bootloader:
@$(MAKE) -C bootloader
kernel:
@$(MAKE) -C kernel
clean:
@$(MAKE) -C bootloader --no-print-directory $@
@$(MAKE) -C kernel --no-print-directory $@
@$(MAKE) -C cc65 --no-print-directory $@