mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 11:58:06 +11:00
22e990ed89
... instead of embedding it in the binary itself. Additionally, add a "zasm.sh" wrapper to faciliate zasm calls on a linux machine.
18 lines
309 B
Makefile
18 lines
309 B
Makefile
TARGETS = os.bin cfsin/helo
|
|
TOOLS = ../../../tools
|
|
ZASM = $(TOOLS)/zasm.sh
|
|
CFSPACK = $(TOOLS)/cfspack/cfspack
|
|
|
|
.PHONY: all
|
|
all: $(TARGETS) sdcard.cfs
|
|
os.bin: glue.asm
|
|
cfsin/helo: helo.asm
|
|
$(TARGETS):
|
|
$(ZASM) < $< > $@
|
|
|
|
$(CFSPACK):
|
|
make -C $(TOOLS)/cfspack
|
|
|
|
sdcard.cfs: cfsin $(CFSPACK)
|
|
$(CFSPACK) $< > $@
|