summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/drv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/dev/drv/Makefile')
-rw-r--r--fw/fe310/eos/dev/drv/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/fw/fe310/eos/dev/drv/Makefile b/fw/fe310/eos/dev/drv/Makefile
new file mode 100644
index 0000000..c9b39bd
--- /dev/null
+++ b/fw/fe310/eos/dev/drv/Makefile
@@ -0,0 +1,16 @@
+include ../../../common.mk
+CFLAGS += -I$(bsp_dir)/include
+
+obj = sdcard.o arducam.o apds9151.o bq25895.o fxl6408.o gt911.o ili9806e.o ov2640.o pcm1770.o tps61052.o
+
+
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: $(obj)
+
+clean:
+ rm -f *.o $(lib)