mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-28 05:38:24 +00:00
32 lines
668 B
Makefile
32 lines
668 B
Makefile
|
CFLAGS=-std=c99 -g
|
||
|
DAT_CONVERTER_OBJ = rmsgpack.o \
|
||
|
rmsgpack_dom.o \
|
||
|
rarchdb.o \
|
||
|
bintree.o \
|
||
|
db_parser.o \
|
||
|
dat_converter.o \
|
||
|
$(NULL)
|
||
|
RARCHDB_TOOL_OBJ = rmsgpack.o \
|
||
|
rmsgpack_dom.o \
|
||
|
db_parser.o \
|
||
|
rarchdb_tool.o \
|
||
|
bintree.o \
|
||
|
rarchdb.o \
|
||
|
$(NULL)
|
||
|
|
||
|
all: dat_converter rmsgpack_test rarchdb_tool
|
||
|
|
||
|
%.o: %.c
|
||
|
${CC} $< -c ${CFLAGS} -o $@
|
||
|
|
||
|
dat_converter: ${DAT_CONVERTER_OBJ}
|
||
|
${CC} ${DAT_CONVERTER_OBJ} -o $@
|
||
|
|
||
|
rarchdb_tool: ${RARCHDB_TOOL_OBJ}
|
||
|
${CC} ${RARCHDB_TOOL_OBJ} -o $@
|
||
|
|
||
|
rmsgpack_test:
|
||
|
gcc rmsgpack.c rmsgpack_test.c -std=c99 -g -o $@
|
||
|
clean:
|
||
|
rm -rf *.o rmsgpack_test dat_converter rarchdb_tool
|