Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
376B

  1. TARGET = stage1.bin
  2. BASEDIR = ../..
  3. FDIR = $(BASEDIR)/forth
  4. EDIR = $(BASEDIR)/emul
  5. STAGE2 = $(EDIR)/stage2
  6. EMUL = $(BASEDIR)/emul/hw/rc2014/classic
  7. .PHONY: all
  8. all: $(TARGET)
  9. $(TARGET): xcomp.fs $(STAGE2)
  10. cat xcomp.fs | $(STAGE2) > $@
  11. $(SLATEST):
  12. $(MAKE) -C $(BASEDIR)/tools
  13. $(EMUL):
  14. $(MAKE) -C ${@:%/classic=%}
  15. .PHONY: emul
  16. emul: $(EMUL) $(TARGET)
  17. $(EMUL) $(TARGET)