tinyriscv/tests/example/coremark/Makefile

19 lines
428 B
Makefile
Raw Normal View History

RISCV_ARCH := rv32im
RISCV_ABI := ilp32
TARGET := coremark
C_SRCS := \
core_list_join.c \
core_main.c \
core_matrix.c \
core_state.c \
core_util.c \
core_portme.c \
CFLAGS := -O2 -fno-common -funroll-loops -finline-functions --param max-inline-insns-auto=20 -falign-functions=4 -falign-jumps=4 -falign-loops=4
CFLAGS += -DFLAGS_STR=\""$(CFLAGS)"\"
CFLAGS += -DITERATIONS=10000 -DPERFORMANCE_RUN=1
include ../common.mk