mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 06:38:05 +11:00
17 lines
267 B
Makefile
17 lines
267 B
Makefile
|
TARGET = boot.bin
|
||
|
BASEDIR = ../..
|
||
|
EDIR = $(BASEDIR)/emul
|
||
|
STAGE = $(EDIR)/stage
|
||
|
|
||
|
.PHONY: all
|
||
|
all: $(TARGET)
|
||
|
$(TARGET): xcomp.fs $(STAGE)
|
||
|
cat xcomp.fs | $(STAGE) > $@
|
||
|
|
||
|
$(STAGE):
|
||
|
$(MAKE) -C $(EDIR) stage
|
||
|
|
||
|
.PHONY: emul
|
||
|
emul: $(TARGET)
|
||
|
qemu-system-i386 -fda $(TARGET)
|