summaryrefslogtreecommitdiff
path: root/software/watchdog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'software/watchdog/Makefile')
-rw-r--r--software/watchdog/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/software/watchdog/Makefile b/software/watchdog/Makefile
new file mode 100644
index 0000000..f614a4e
--- /dev/null
+++ b/software/watchdog/Makefile
@@ -0,0 +1,9 @@
+TARGET = watchdog
+CFLAGS += -O2 -fno-builtin-printf -DUSE_PLIC -DUSE_M_TIME
+
+BSP_BASE = ../../bsp
+
+C_SRCS += watchdog.c
+C_SRCS += $(BSP_BASE)/drivers/plic/plic_driver.c
+
+include $(BSP_BASE)/env/common.mk