mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-07 06:18:45 +10:00
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 > $@
|