mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 15:48:05 +11:00
17 lines
284 B
Makefile
17 lines
284 B
Makefile
TARGETS = os.bin
|
|
TOOLS = ../../../tools
|
|
ZASM = $(TOOLS)/emul/zasm/zasm
|
|
CFSPACK = $(TOOLS)/cfspack/cfspack
|
|
|
|
.PHONY: all
|
|
all: $(TARGETS) sdcard.cfs
|
|
os.bin: glue.asm
|
|
$(TARGETS):
|
|
$(ZASM) < $< > $@
|
|
|
|
$(CFSPACK):
|
|
make -C $(TOOLS)/cfspack
|
|
|
|
sdcard.cfs: cfsin $(CFSPACK)
|
|
$(CFSPACK) $< > $@
|