-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
48 lines (37 loc) · 847 Bytes
/
Makefile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
ROOT=.
include ./Make.config
LIBS=\
libauthsrv/libauthsrv.a\
libmp/libmp.a\
libc/libc.a\
libsec/libsec.a\
libmemdraw/libmemdraw.a\
libmemlayer/libmemlayer.a\
libdraw/libdraw.a\
default: $(TARG)
$(TARG): $(LIBS)
$(CC) $(LDFLAGS) -o $(TARG) $(OFILES) $(LIBS) $(LDADD)
.PHONY: clean
clean:
rm -f *.o */*.o */*.a *.a blob.js blob.wasm
.PHONY: libauthsrv/libauthsrv.a
libauthsrv/libauthsrv.a:
(cd libauthsrv; $(MAKE))
.PHONY: libmp/libmp.a
libmp/libmp.a:
(cd libmp; $(MAKE))
.PHONY: libc/libc.a
libc/libc.a:
(cd libc; $(MAKE))
.PHONY: libsec/libsec.a
libsec/libsec.a:
(cd libsec; $(MAKE))
.PHONY: libmemdraw/libmemdraw.a
libmemdraw/libmemdraw.a:
(cd libmemdraw; $(MAKE))
.PHONY: libmemlayer/libmemlayer.a
libmemlayer/libmemlayer.a:
(cd libmemlayer; $(MAKE))
.PHONY: libdraw/libdraw.a
libdraw/libdraw.a:
(cd libdraw; $(MAKE))