SRC := src/rcheevos/alloc.c \
	src/rcheevos/compat.c \
	src/rcheevos/condition.c \
	src/rcheevos/condset.c \
	src/rcheevos/consoleinfo.c \
	src/rcheevos/format.c \
	src/rcheevos/lboard.c \
	src/rcheevos/memref.c \
	src/rcheevos/operand.c \
	src/rcheevos/richpresence.c \
	src/rcheevos/runtime.c \
	src/rcheevos/runtime_progress.c \
	src/rcheevos/trigger.c \
	src/rcheevos/value.c \
	src/rhash/cdreader.c \
	src/rhash/hash.c \
	src/rhash/md5.c \
	src/rurl/url.c
OBJ = $(SRC:.c=.o)

CFLAGS += -fPIC -Iinclude -DRC_DISABLE_LUA

rcheevoslib.a: $(OBJ)
	ar rcs rcheevoslib.a $(OBJ)

clean:
	rm -f $(OBJ) rcheevoslib.a
