1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-15 03:18:05 +11:00
collapseos/recipes/rc2014/sdcard/Makefile

20 lines
407 B
Makefile
Raw Normal View History

TARGETS = os.bin cfsin/helo
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
all: $(TARGETS) sdcard.cfs
2019-05-08 05:26:52 +10:00
os.bin: glue.asm
cfsin/helo: helo.asm
2019-05-08 05:26:52 +10:00
$(TARGETS):
$(ZASM) $(KERNEL) $(APPS) < glue.asm > $@
$(CFSPACK):
make -C $(BASEDIR)/tools/cfspack
sdcard.cfs: cfsin $(CFSPACK)
$(CFSPACK) cfsin > $@