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