diff --git a/emul/hw/rc2014/Makefile b/emul/hw/rc2014/Makefile index 1ed63a4..83aa0d8 100644 --- a/emul/hw/rc2014/Makefile +++ b/emul/hw/rc2014/Makefile @@ -5,6 +5,9 @@ TARGET = classic .PHONY: all all: $(TARGET) +../../emul.o: + make -C ../.. + $(TARGET): $(OBJS) $(EXTOBJS) $(CC) $(OBJS) $(EXTOBJS) -o $@ diff --git a/emul/hw/sms/Makefile b/emul/hw/sms/Makefile index ec296fd..dae8b22 100644 --- a/emul/hw/sms/Makefile +++ b/emul/hw/sms/Makefile @@ -7,6 +7,9 @@ LDFLAGS += `pkg-config --libs xcb` .PHONY: all all: $(TARGET) +../../emul.o: + make -C ../.. + $(TARGET): $(OBJS) $(EXTOBJS) $(CC) $(OBJS) $(EXTOBJS) -o $@ $(LDFLAGS) diff --git a/emul/hw/ti/Makefile b/emul/hw/ti/Makefile index 9777cd1..c86008e 100644 --- a/emul/hw/ti/Makefile +++ b/emul/hw/ti/Makefile @@ -7,6 +7,9 @@ LDFLAGS += `pkg-config --libs xcb` .PHONY: all all: $(TARGET) +../../emul.o: + make -C ../.. + $(TARGET): $(OBJS) $(EXTOBJS) $(CC) $(OBJS) $(EXTOBJS) -o $@ $(LDFLAGS) diff --git a/recipes/rc2014/Makefile b/recipes/rc2014/Makefile index 472ae2d..506639a 100644 --- a/recipes/rc2014/Makefile +++ b/recipes/rc2014/Makefile @@ -1,7 +1,8 @@ TARGET = os.bin BASEDIR = ../.. +CDIR = $(BASEDIR)/cvm EDIR = $(BASEDIR)/emul -STAGE = $(BASEDIR)/cvm/stage +STAGE = $(CDIR)/stage EMUL = $(EDIR)/hw/rc2014/classic .PHONY: all @@ -10,7 +11,7 @@ $(TARGET): xcomp.fs $(STAGE) cat xcomp.fs | $(STAGE) > $@ $(STAGE): - $(MAKE) -C $(EDIR) stage + $(MAKE) -C $(CDIR) stage $(EMUL): $(MAKE) -C ${@:%/classic=%}