collapseos/emul/z80/rc2014/Makefile

17 lines
245 B
Makefile

EXTOBJS = ../emul.o ../z80.o
OBJS = sio.o acia.o sdc.o classic.o
TARGET = classic
.PHONY: all
all: $(TARGET)
../emul.o:
make -C ..
$(TARGET): $(OBJS) $(EXTOBJS)
$(CC) $(OBJS) $(EXTOBJS) -o $@
.PHONY: clean
clean:
rm -f $(TARGET) $(OBJS)