17 lines
255 B
Makefile
17 lines
255 B
Makefile
EXTOBJS = ../emul.o ../libz80/libz80.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)
|