summaryrefslogtreecommitdiff
path: root/fw/fe310/bsp/init/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/bsp/init/Makefile')
-rw-r--r--fw/fe310/bsp/init/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/fw/fe310/bsp/init/Makefile b/fw/fe310/bsp/init/Makefile
new file mode 100644
index 0000000..2df25e7
--- /dev/null
+++ b/fw/fe310/bsp/init/Makefile
@@ -0,0 +1,13 @@
+include ../../common.mk
+CFLAGS += -I$(bsp_dir)/include -I$(bsp_dir)/drivers
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: entry.o
+
+clean:
+ rm -f *.o