FreeCalypso > hg > fc-usbser-tools
comparison Makefile @ 15:e1629a7c8ae3
top Makefile: add new local libraries
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 07 Sep 2023 08:11:12 +0000 |
parents | d4151cef9d95 |
children | 2e21b551b971 |
comparison
equal
deleted
inserted
replaced
14:67ecb394b24f | 15:e1629a7c8ae3 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 SUBDIR= eeproms fteeprom | 3 PROGDIR=eeproms fteeprom |
4 LIBDIR= libftmini libuwrap | |
5 SUBDIR= ${PROGDIR} ${LIBDIR} | |
4 | 6 |
5 INSTALL_PREFIX= /opt/freecalypso | 7 INSTALL_PREFIX= /opt/freecalypso |
6 | 8 |
7 all: ${SUBDIR} | 9 all: ${SUBDIR} |
8 | 10 |
13 rm -f a.out core errs | 15 rm -f a.out core errs |
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | 16 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
15 | 17 |
16 install: FRC | 18 install: FRC |
17 mkdir -p ${INSTALL_PREFIX} | 19 mkdir -p ${INSTALL_PREFIX} |
18 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ | 20 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
19 INSTALL_PREFIX=${INSTALL_PREFIX} install); done | 21 INSTALL_PREFIX=${INSTALL_PREFIX} install); done |
20 | 22 |
21 FRC: | 23 FRC: |