mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 10:28:08 +11:00
9a72f10221
This makes for a much more usable zasm linux binary that doesn't have to be rebuilt every time apps or kernel change.
19 lines
344 B
Makefile
19 lines
344 B
Makefile
TARGETS = os.bin cfsin/helo
|
|
TOOLS = ../../../tools
|
|
ZASM = $(TOOLS)/zasm.sh
|
|
KERNEL = ../../../kernel
|
|
CFSPACK = $(TOOLS)/cfspack/cfspack
|
|
|
|
.PHONY: all
|
|
all: $(TARGETS) sdcard.cfs
|
|
os.bin: glue.asm
|
|
cfsin/helo: helo.asm
|
|
$(TARGETS):
|
|
$(ZASM) $(KERNEL) < $< > $@
|
|
|
|
$(CFSPACK):
|
|
make -C $(TOOLS)/cfspack
|
|
|
|
sdcard.cfs: cfsin $(CFSPACK)
|
|
$(CFSPACK) $< > $@
|