mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-28 16:38:06 +11:00
20 lines
345 B
Makefile
20 lines
345 B
Makefile
TARGET = os.bin
|
|
BASEDIR = ../..
|
|
ZASM = $(BASEDIR)/emul/zasm/zasm
|
|
KERNEL = $(BASEDIR)/kernel
|
|
APPS = $(BASEDIR)/apps
|
|
EMUL = $(BASEDIR)/emul/hw/rc2014/classic
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
$(TARGET): glue.asm
|
|
$(ZASM) $(KERNEL) $(APPS) < glue.asm > $@
|
|
|
|
$(EMUL):
|
|
$(MAKE) -C ${@:%/classic=%}
|
|
|
|
.PHONY: emul
|
|
emul: $(EMUL) $(TARGET)
|
|
$(EMUL) $(TARGET)
|
|
|