FreeCalypso > hg > fc-usbser-tools
annotate Makefile @ 27:2413a54a1bfc
fc-duart28-conf started
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 09 Sep 2023 17:53:21 +0000 |
parents | 2e21b551b971 |
children | c4b4ebaa2117 |
rev | line source |
---|---|
6 | 1 CC= gcc |
2 CFLAGS= -O2 | |
15
e1629a7c8ae3
top Makefile: add new local libraries
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
3 PROGDIR=eeproms fteeprom |
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 | |
17
2e21b551b971
top Makefile: fteeprom now depends on local libs
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
11 fteeprom: libftmini libuwrap |
2e21b551b971
top Makefile: fteeprom now depends on local libs
Mychaela Falconia <falcon@freecalypso.org>
parents:
15
diff
changeset
|
12 |
6 | 13 ${SUBDIR}: FRC |
14 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" | |
15 | |
16 clean: FRC | |
17 rm -f a.out core errs | |
18 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
19 | |
20 install: FRC | |
21 mkdir -p ${INSTALL_PREFIX} | |
15
e1629a7c8ae3
top Makefile: add new local libraries
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
22 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
6 | 23 INSTALL_PREFIX=${INSTALL_PREFIX} install); done |
24 | |
25 FRC: |