blob: 650bff86821920454b10ae029d30bc05eeadd33c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
include ../../common.mk
obj = eve.o eve_platform.o eve_touch.o eve_touch_engine.o eve_phy.o eve_vtrack.o eve_font.o eve_kbd.o eve_text.o clipb.o
subdirs = screen widget
lib = ../../libeve.a
%.o: %.c %.h
$(CC) $(CFLAGS) -c $<
%.o: %.S
$(CC) $(CFLAGS) -c $<
all: $(lib)
$(lib): $(obj)
for i in $(subdirs); do \
(cd $$i && $(MAKE)) || exit; \
done
$(AR) rcs $@ $(obj) screen/*.o widget/*.o
clean:
for i in $(subdirs); do \
(cd $$i && $(MAKE) clean) || exit; \
done
rm -f *.o $(lib)
|