Rev 3 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# $Id: Makefile 7 2024-08-28 14:02:52Z nishi $
include $(PWD)/Platform/$(PLATFORM).mk
.PHONY: all clean
.SUFFIXES: .c .o
OBJS = main.o thread.o emu/shiroi.o
OBJS += emu/card/shiroi_video_mk_i.o emu/card/shiroi_sound_mk_i.o emu/card/shiroi_math_mk_i.o emu/card/shiroi_text_mk_i.o emu/card/shiroi_video_mk_ii.o
OBJS += emu/chips.o emu/tms9918.o emu/am9511.o emu/tms9918util.o emu/ova.o emu/floatcnv.o
all: shiroi$(EXEC)
shiroi$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
.c.o:
$(CC) -I emu $(CFLAGS) -c -o $@ $<
clean:
rm -f *.o */*.o */*/*.o *.exe shiroi