mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-30 07:18:04 +11:00
e1e0676191
This makes the emulator suitable to run the base SMS recipe.
17 lines
312 B
Makefile
17 lines
312 B
Makefile
EXTOBJS = ../../emul.o ../../libz80/libz80.o
|
|
OBJS = sms.o vdp.o port.o pad.o
|
|
TARGET = sms
|
|
CFLAGS += `pkg-config --cflags xcb`
|
|
LDFLAGS += `pkg-config --libs xcb`
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJS) $(EXTOBJS)
|
|
$(CC) $(OBJS) $(EXTOBJS) -o $@ $(LDFLAGS)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(TARGET) $(OBJS)
|
|
|