mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 18:28:05 +11:00
efe4b13a4e
I'm planning on adding other subfolders. 8086 for example...
20 lines
318 B
Makefile
20 lines
318 B
Makefile
EXTOBJS = ../emul.o ../z80.o
|
|
OBJS = ti84.o t6a04.o kbd.o
|
|
TARGET = ti84
|
|
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)
|
|
|