Subversion Repositories Shiroi

Rev

Rev 7 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 nishi 1
# $Id: Makefile 12 2024-08-29 04:19:08Z 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
11
OBJS += emu/card/shiroi_math_mk_i.o emu/card/shiroi_text_mk_i.o emu/card/shiroi_debug.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