mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 12:58:06 +11:00
20 lines
336 B
Makefile
20 lines
336 B
Makefile
EXTOBJS = ../emul.o ../libz80/libz80.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)
|
|
|