Subversion Repositories Shiroi

Rev

Rev 12 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 nishi 1
# $Id: Makefile 34 2024-09-01 10:13:47Z nishi $
2
 
3
include $(PWD)/Platform/$(PLATFORM).mk
4
 
5
.PHONY: all clean
6
.SUFFIXES: .c .o
7
 
8
OBJS = main.o thread.o emu/shiroi.o
12 nishi 9
OBJS += emu/card/shiroi_video_mk_i.o emu/card/shiroi_video_mk_ii.o
10
OBJS += emu/card/shiroi_sound_mk_i.o
34 nishi 11
OBJS += emu/card/shiroi_math_mk_i.o emu/card/shiroi_text_mk_i.o emu/card/shiroi_debug.o emu/card/shiroi_romcard_mk_i.o
1 nishi 12
OBJS += emu/chips.o emu/tms9918.o emu/am9511.o emu/tms9918util.o emu/ova.o emu/floatcnv.o
13
 
14
all: shiroi$(EXEC)
15
 
16
shiroi$(EXEC): $(OBJS)
17
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
18
 
19
.c.o:
20
	$(CC) -I emu $(CFLAGS) -c -o $@ $<
21
 
22
clean:
23
	rm -f *.o */*.o */*/*.o *.exe shiroi