summaryrefslogtreecommitdiff
path: root/code/fe310/eos/Makefile
blob: 36eefd743dc0b01bac82434de5f4f9e77ac70e34 (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 i2s.o uart.o spi.o net.o wifi.o cell.o sock.o eve.o


%.o: %.c %.h
	$(CC) $(CFLAGS) -c $<

%.o: %.S
	$(CC) $(CFLAGS) -c $<

all: $(obj)

clean:
	rm -f *.o