2020-10-24 14:37:19 -04:00
|
|
|
EXTOBJS = ../emul.o ../libz80/libz80.o
|
2020-09-24 21:01:14 -04:00
|
|
|
OBJS = sio.o acia.o sdc.o classic.o
|
2020-01-02 16:59:38 -05:00
|
|
|
TARGET = classic
|
2019-12-31 22:03:48 -05:00
|
|
|
|
2020-01-02 16:59:38 -05:00
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGET)
|
|
|
|
|
2020-10-24 14:37:19 -04:00
|
|
|
../emul.o:
|
|
|
|
make -C ..
|
2020-06-30 10:24:12 -04:00
|
|
|
|
2020-01-02 16:59:38 -05:00
|
|
|
$(TARGET): $(OBJS) $(EXTOBJS)
|
|
|
|
$(CC) $(OBJS) $(EXTOBJS) -o $@
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f $(TARGET) $(OBJS)
|