FreeCalypso > hg > fc-pcm-if
annotate sw/Makefile @ 12:23555b9a1c20
fc-mcsi-rxtx: implement pcm-fill command
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Oct 2024 06:52:33 +0000 |
parents | ee14dd81bba1 |
children |
rev | line source |
---|---|
4
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
8
ee14dd81bba1
sw/Makefile: add mcsi-rxtx
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
3 PROGDIR=mcsi-rx mcsi-rxtx |
4
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIBDIR= libserial |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 SUBDIR= ${PROGDIR} ${LIBDIR} |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 INSTALL_PREFIX= /opt/freecalypso |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 all: ${SUBDIR} |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 mcsi-rx: libserial |
8
ee14dd81bba1
sw/Makefile: add mcsi-rxtx
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
12 mcsi-rxtx: libserial |
4
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ${SUBDIR}: FRC |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 clean: FRC |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 rm -f a.out core errs |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 install: FRC |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 mkdir -p ${INSTALL_PREFIX} |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 INSTALL_PREFIX=${INSTALL_PREFIX} install); done |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
1dacfe7d5b3d
sw: add top Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 FRC: |