FreeCalypso > hg > gsm-codec-lib
annotate Makefile @ 9:4229247843c0
top Makefile: initial version
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 19 Nov 2022 23:09:44 +0000 |
parents | |
children | f88817a233fb |
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 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 SUBDIR= dev libgsmfrp libtest |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 all: ${SUBDIR} |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 ${SUBDIR}: FRC |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" |
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 clean: FRC |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 rm -f a.out core errs |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
4229247843c0
top Makefile: initial version
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 FRC: |