comparison Makefile @ 52:61cdcf2eb17b

top Makefile: add cp2102
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Sep 2023 17:48:53 +0000
parents c4b4ebaa2117
children
comparison
equal deleted inserted replaced
51:9a15eb300ab0 52:61cdcf2eb17b
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGDIR=duart28 eeproms fteeprom 3 PROGDIR=cp2102 duart28 eeproms fteeprom
4 LIBDIR= libftmini libuwrap 4 LIBDIR= libftmini libuwrap
5 SUBDIR= ${PROGDIR} ${LIBDIR} 5 SUBDIR= ${PROGDIR} ${LIBDIR}
6 6
7 INSTALL_PREFIX= /opt/freecalypso 7 INSTALL_PREFIX= /opt/freecalypso
8 8
9 all: ${SUBDIR} 9 all: ${SUBDIR}
10 10
11 cp2102: libuwrap
11 duart28: libftmini libuwrap 12 duart28: libftmini libuwrap
12 fteeprom: libftmini libuwrap 13 fteeprom: libftmini libuwrap
13 14
14 ${SUBDIR}: FRC 15 ${SUBDIR}: FRC
15 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" 16 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"