1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 09:58:06 +11:00
collapseos/recipes/rc2014/sdcard/Makefile

20 lines
373 B
Makefile
Raw Normal View History

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