blob: 75f36abf13445af4ba3517b482db1285252b8f80 (
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$(ext_dir)/crypto
obj = flash.o spi.o net.o bq25895.o sdcard.o sdc_crypto.o lcd.o gt911.o ili9806e.o eve.o ov2640.o cam.o egpio.o fxl6408.o apds9151.o tps61052.o
lib = ../../libeos-dev.a
%.o: %.c %.h
$(CC) $(CFLAGS) -c $<
%.o: %.S
$(CC) $(CFLAGS) -c $<
all: $(lib)
$(lib): $(obj)
$(AR) rcs $@ $(obj)
clean:
rm -f *.o $(lib)
|