mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 18:38:06 +11:00
097c677641
This allows us to get rid of the zasm.sh wrapper.
20 lines
407 B
Makefile
20 lines
407 B
Makefile
TARGETS = os.bin cfsin/helo
|
|
BASEDIR = ../../..
|
|
ZASM = $(BASEDIR)/emul/zasm/zasm
|
|
KERNEL = $(BASEDIR)/kernel
|
|
APPS = $(BASEDIR)/apps
|
|
CFSPACK = $(BASEDIR)/tools/cfspack/cfspack
|
|
|
|
.PHONY: all
|
|
all: $(TARGETS) sdcard.cfs
|
|
os.bin: glue.asm
|
|
cfsin/helo: helo.asm
|
|
$(TARGETS):
|
|
$(ZASM) $(KERNEL) $(APPS) < glue.asm > $@
|
|
|
|
$(CFSPACK):
|
|
make -C $(BASEDIR)/tools/cfspack
|
|
|
|
sdcard.cfs: cfsin $(CFSPACK)
|
|
$(CFSPACK) cfsin > $@
|