RetroArch/rarchdb/Makefile

32 lines
668 B
Makefile
Raw Normal View History

2014-12-30 20:02:15 +00:00
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