1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-27 18:38:06 +11:00
collapseos/recipes/rc2014/sdcard/Makefile

19 lines
344 B
Makefile
Raw Normal View History

TARGETS = os.bin cfsin/helo
TOOLS = ../../../tools
ZASM = $(TOOLS)/zasm.sh
KERNEL = ../../../kernel
CFSPACK = $(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) < $< > $@
$(CFSPACK):
make -C $(TOOLS)/cfspack
sdcard.cfs: cfsin $(CFSPACK)
$(CFSPACK) $< > $@