FreeCalypso > hg > gsm-codec-lib
annotate Makefile @ 39:36e1363ad885
libgsmefr: initial import of ETSI header files
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 24 Nov 2022 07:38:23 +0000 |
parents | baadb1cb744d |
children | c337661d2ab5 |
rev | line source |
---|---|
9
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
21
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
3 |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
4 SUBDIR_LIBPROD= libgsmfrp |
23
baadb1cb744d
new debug utility gsmrec-dump
Mychaela Falconia <falcon@freecalypso.org>
parents:
21
diff
changeset
|
5 SUBDIR_UTILS= frtest miscutil pcap |
21
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
6 SUBDIR_INT= dev libtest |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
7 |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
8 SUBDIR= ${SUBDIR_LIBPROD} ${SUBDIR_UTILS} ${SUBDIR_INT} |
9
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 all: ${SUBDIR} |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
23
baadb1cb744d
new debug utility gsmrec-dump
Mychaela Falconia <falcon@freecalypso.org>
parents:
21
diff
changeset
|
12 frtest: libgsmfrp libtest |
baadb1cb744d
new debug utility gsmrec-dump
Mychaela Falconia <falcon@freecalypso.org>
parents:
21
diff
changeset
|
13 miscutil: libtest |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
9
diff
changeset
|
14 |
9
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${SUBDIR}: FRC |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
21
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
18 install-lib: FRC |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
19 for i in ${SUBDIR_LIBPROD}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
20 |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
21 install-utils: FRC |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
22 for i in ${SUBDIR_UTILS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
b82ac486c1d7
top Makefile: add install-lib and install-utils
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
23 |
9
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 clean: FRC |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 rm -f a.out core errs |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 FRC: |