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