2020-10-24 14:37:19 -04:00
|
|
|
EXTOBJS = ../emul.o ../libz80/libz80.o
|
2020-01-02 16:59:38 -05:00
|
|
|
OBJS = ti84.o t6a04.o kbd.o
|
|
|
|
TARGET = ti84
|
2020-01-01 22:48:01 -05:00
|
|
|
CFLAGS += `pkg-config --cflags xcb`
|
2020-01-09 08:33:08 -05:00
|
|
|
LDFLAGS += `pkg-config --libs xcb`
|
2020-01-01 22:48:01 -05:00
|
|
|
|
2020-01-02 16:59:38 -05:00
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGET)
|
2020-01-01 22:48:01 -05:00
|
|
|
|
2020-10-24 14:37:19 -04:00
|
|
|
../emul.o:
|
|
|
|
make -C ..
|
2020-06-30 10:24:12 -04:00
|
|
|
|
2020-01-02 16:59:38 -05:00
|
|
|
$(TARGET): $(OBJS) $(EXTOBJS)
|
2020-01-09 08:33:08 -05:00
|
|
|
$(CC) $(OBJS) $(EXTOBJS) -o $@ $(LDFLAGS)
|
2020-01-02 16:59:38 -05:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f $(TARGET) $(OBJS)
|
|
|
|
|