FreeCalypso > hg > fc-usbser-tools
annotate Makefile @ 105:1e820ed0904e
Installed-binaries: list of binaries installed by this package
I am establishing a new convention for all FreeCalypso tools, across
different packages and source repositories: each FC tools package
will have a file name Installed-binaries listing all user-invokable
binaries that package installs in /opt/freecalypso/bin. These files
are to serve as an aid to users and distro package maintainers who
prefer to not add /opt/freecalypso/bin to their PATH. The alternative
to adding this directory to PATH is to create a symlink for every
installed binary in some standard location such as /usr/bin or
/usr/local/bin, pointing to the actual binary in /opt/freecalypso/bin;
having a list of all FC-installed binaries in a standardized format
will allow this process to be automated.
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 29 Sep 2023 19:42:53 +0000 |
| parents | 61cdcf2eb17b |
| children |
| rev | line source |
|---|---|
| 6 | 1 CC= gcc |
| 2 CFLAGS= -O2 | |
|
52
61cdcf2eb17b
top Makefile: add cp2102
Mychaela Falconia <falcon@freecalypso.org>
parents:
28
diff
changeset
|
3 PROGDIR=cp2102 duart28 eeproms fteeprom |
|
15
e1629a7c8ae3
top Makefile: add new local libraries
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
4 LIBDIR= libftmini libuwrap |
|
e1629a7c8ae3
top Makefile: add new local libraries
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
5 SUBDIR= ${PROGDIR} ${LIBDIR} |
| 6 | 6 |
| 7 INSTALL_PREFIX= /opt/freecalypso | |
| 8 | |
| 9 all: ${SUBDIR} | |
| 10 | |
|
52
61cdcf2eb17b
top Makefile: add cp2102
Mychaela Falconia <falcon@freecalypso.org>
parents:
28
diff
changeset
|
11 cp2102: libuwrap |
|
28
c4b4ebaa2117
top Makefile: add duart28
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
12 duart28: libftmini libuwrap |
|
17
2e21b551b971
top Makefile: fteeprom now depends on local libs
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
13 fteeprom: libftmini libuwrap |
|
2e21b551b971
top Makefile: fteeprom now depends on local libs
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
14 |
| 6 | 15 ${SUBDIR}: FRC |
| 16 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" | |
| 17 | |
| 18 clean: FRC | |
| 19 rm -f a.out core errs | |
| 20 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
| 21 | |
| 22 install: FRC | |
| 23 mkdir -p ${INSTALL_PREFIX} | |
|
15
e1629a7c8ae3
top Makefile: add new local libraries
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
24 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
| 6 | 25 INSTALL_PREFIX=${INSTALL_PREFIX} install); done |
| 26 | |
| 27 FRC: |
