summaryrefslogtreecommitdiff
path: root/code/fe310/eos/Makefile
blob: 71465a4a3ff03c2f3024c9522f2ce07dacd8ed93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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