summaryrefslogtreecommitdiff
path: root/code/fe310/eos/Makefile
blob: 02196d8acc2f20e4c07f7c6a0c3f0710f572b5a2 (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 spi_dev.o net.o wifi.o cell.o sock.o eve.o eve_kbd.o eve_text.o


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

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

all: $(obj)

clean:
	rm -f *.o