efe4b13a4e
I'm planning on adding other subfolders. 8086 for example...
17 lines
245 B
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)
|