1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-10-05 08:10:55 +10:00
collapseos/emul/sms/Makefile
Virgil Dupras 329219fa89 emul: copy libz80 directly into tree, pre-generated
libz80 doesn't move much anymore, there not much advantage to the
git module indirection.
2020-10-24 15:42:08 -04:00

20 lines
326 B
Makefile

EXTOBJS = ../emul.o ../z80.o
OBJS = sms.o vdp.o port.o pad.o kbd.o
TARGET = sms
CFLAGS += `pkg-config --cflags xcb`
LDFLAGS += `pkg-config --libs xcb`
.PHONY: all
all: $(TARGET)
../emul.o:
make -C ..
$(TARGET): $(OBJS) $(EXTOBJS)
$(CC) $(OBJS) $(EXTOBJS) -o $@ $(LDFLAGS)
.PHONY: clean
clean:
rm -f $(TARGET) $(OBJS)