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