2020-04-11 11:03:49 +00:00
|
|
|
RISCV_ARCH := rv32im
|
|
|
|
RISCV_ABI := ilp32
|
2020-04-18 13:27:26 +00:00
|
|
|
RISCV_MCMODEL := medlow
|
2020-04-11 11:03:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
TARGET = timer_int
|
2019-12-04 00:47:19 +00:00
|
|
|
|
|
|
|
|
2020-04-11 11:03:49 +00:00
|
|
|
CFLAGS += -DSIMULATION
|
2020-04-18 03:39:27 +00:00
|
|
|
CFLAGS += -Os
|
2020-04-11 11:03:49 +00:00
|
|
|
#ASM_SRCS +=
|
|
|
|
#LDFLAGS +=
|
|
|
|
#INCLUDES += -I.
|
2019-12-04 00:47:19 +00:00
|
|
|
|
2020-04-11 11:03:49 +00:00
|
|
|
C_SRCS := \
|
|
|
|
main.c \
|
|
|
|
|
|
|
|
|
2020-04-18 13:27:26 +00:00
|
|
|
COMMON_DIR = ..
|
|
|
|
TOOLCHAIN_DIR = ../../..
|
2020-04-11 11:03:49 +00:00
|
|
|
include ../common.mk
|