summaryrefslogtreecommitdiff
path: root/code/fe310/eos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/fe310/eos/Makefile')
-rw-r--r--code/fe310/eos/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/code/fe310/eos/Makefile b/code/fe310/eos/Makefile
new file mode 100644
index 0000000..71465a4
--- /dev/null
+++ b/code/fe310/eos/Makefile
@@ -0,0 +1,17 @@
+include ../common.mk
+
+CFLAGS += -I../include -I../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