blob: 1404c81b28ffb1d92e6540ef0cddf7c81543b419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
include ../../common.mk
CFLAGS += -I$(bsp_dir)/include -I$(bsp_dir)/drivers
obj = trap_entry.o interrupt.o timer.o pwr.o i2s.o i2c.o uart.o spi.o
lib = ../../libeos-soc.a
%.o: %.c %.h
$(CC) $(CFLAGS) -c $<
%.o: %.S
$(CC) $(CFLAGS) -c $<
all: $(lib)
$(lib): $(obj)
$(AR) rcs $@ $(obj)
clean:
rm -f *.o $(lib)
|