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