Rev 3 |
Rev 12 |
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 7 2024-08-28 14:02:52Z 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
|
7 |
nishi |
9 |
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
|
1 |
nishi |
10 |
OBJS += emu/chips.o emu/tms9918.o emu/am9511.o emu/tms9918util.o emu/ova.o emu/floatcnv.o
|
|
|
11 |
|
|
|
12 |
all: shiroi$(EXEC)
|
|
|
13 |
|
|
|
14 |
shiroi$(EXEC): $(OBJS)
|
|
|
15 |
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
|
|
|
16 |
|
|
|
17 |
.c.o:
|
|
|
18 |
$(CC) -I emu $(CFLAGS) -c -o $@ $<
|
|
|
19 |
|
|
|
20 |
clean:
|
|
|
21 |
rm -f *.o */*.o */*/*.o *.exe shiroi
|