2019-05-28 13:13:34 -04:00
|
|
|
TARGETS = os.bin cfsin/helo
|
2019-05-28 11:01:17 -04:00
|
|
|
TOOLS = ../../../tools
|
2019-06-02 15:50:59 -04:00
|
|
|
ZASM = $(TOOLS)/zasm.sh
|
2019-06-02 19:54:37 -04:00
|
|
|
KERNEL = ../../../kernel
|
2019-05-28 11:01:17 -04:00
|
|
|
CFSPACK = $(TOOLS)/cfspack/cfspack
|
2019-05-07 15:26:52 -04:00
|
|
|
|
|
|
|
.PHONY: all
|
2019-05-28 11:01:17 -04:00
|
|
|
all: $(TARGETS) sdcard.cfs
|
2019-05-07 15:26:52 -04:00
|
|
|
os.bin: glue.asm
|
2019-05-28 13:13:34 -04:00
|
|
|
cfsin/helo: helo.asm
|
2019-05-07 15:26:52 -04:00
|
|
|
$(TARGETS):
|
2019-06-02 19:54:37 -04:00
|
|
|
$(ZASM) $(KERNEL) < $< > $@
|
2019-05-28 11:01:17 -04:00
|
|
|
|
|
|
|
$(CFSPACK):
|
|
|
|
make -C $(TOOLS)/cfspack
|
|
|
|
|
|
|
|
sdcard.cfs: cfsin $(CFSPACK)
|
|
|
|
$(CFSPACK) $< > $@
|