6acd22492c
VDP kinda works. Can see the Collapse OS prompt with SMS base recipe if `STDIO_GETC` gets replaced with infinite loop (no input emul yet).
16 lines
277 B
Makefile
16 lines
277 B
Makefile
EXTOBJS = ../../emul.o ../../libz80/libz80.o
|
|
OBJS = sms.o vdp.o
|
|
TARGET = sms
|
|
CFLAGS += `pkg-config --cflags xcb`
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJS) $(EXTOBJS)
|
|
$(CC) `pkg-config --libs xcb` $(OBJS) $(EXTOBJS) -o $@
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(TARGET) $(OBJS)
|
|
|