2019-05-29 03:13:34 +10:00
|
|
|
TARGETS = os.bin cfsin/helo
|
2019-05-29 01:01:17 +10:00
|
|
|
TOOLS = ../../../tools
|
2019-06-03 05:50:59 +10:00
|
|
|
ZASM = $(TOOLS)/zasm.sh
|
2019-06-03 09:54:37 +10:00
|
|
|
KERNEL = ../../../kernel
|
2019-05-29 01:01:17 +10:00
|
|
|
CFSPACK = $(TOOLS)/cfspack/cfspack
|
2019-05-08 05:26:52 +10:00
|
|
|
|
|
|
|
.PHONY: all
|
2019-05-29 01:01:17 +10:00
|
|
|
all: $(TARGETS) sdcard.cfs
|
2019-05-08 05:26:52 +10:00
|
|
|
os.bin: glue.asm
|
2019-05-29 03:13:34 +10:00
|
|
|
cfsin/helo: helo.asm
|
2019-05-08 05:26:52 +10:00
|
|
|
$(TARGETS):
|
2019-06-03 09:54:37 +10:00
|
|
|
$(ZASM) $(KERNEL) < $< > $@
|
2019-05-29 01:01:17 +10:00
|
|
|
|
|
|
|
$(CFSPACK):
|
|
|
|
make -C $(TOOLS)/cfspack
|
|
|
|
|
|
|
|
sdcard.cfs: cfsin $(CFSPACK)
|
|
|
|
$(CFSPACK) $< > $@
|