summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/Makefile')
-rw-r--r--fw/fe310/eos/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/fw/fe310/eos/Makefile b/fw/fe310/eos/Makefile
new file mode 100644
index 0000000..301a30e
--- /dev/null
+++ b/fw/fe310/eos/Makefile
@@ -0,0 +1,17 @@
+include ../common.mk
+
+CFLAGS += -I../bsp/include -I../bsp/drivers
+
+obj = trap_entry.o eos.o msgq.o event.o interrupt.o timer.o power.o i2s.o uart.o spi.o spi_dev.o net.o wifi.o cell.o sock.o unicode.o
+
+
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: $(obj)
+
+clean:
+ rm -f *.o \ No newline at end of file