2019-05-29 03:13:34 +10:00
|
|
|
TARGETS = os.bin cfsin/helo
|
2020-01-01 07:07:39 +11:00
|
|
|
BASEDIR = ../../..
|
|
|
|
ZASM = $(BASEDIR)/emul/zasm/zasm
|
|
|
|
KERNEL = $(BASEDIR)/kernel
|
|
|
|
APPS = $(BASEDIR)/apps
|
|
|
|
CFSPACK = $(BASEDIR)/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):
|
2020-01-01 07:07:39 +11:00
|
|
|
$(ZASM) $(KERNEL) $(APPS) < glue.asm > $@
|
2019-05-29 01:01:17 +10:00
|
|
|
|
|
|
|
$(CFSPACK):
|
2020-01-01 07:07:39 +11:00
|
|
|
make -C $(BASEDIR)/tools/cfspack
|
2019-05-29 01:01:17 +10:00
|
|
|
|
|
|
|
sdcard.cfs: cfsin $(CFSPACK)
|
2020-01-01 07:07:39 +11:00
|
|
|
$(CFSPACK) cfsin > $@
|