view Makefile @ 7:b2c891299e83

ftee-gen*: look for EEPROM config file in /opt/freecalypso/ftdi
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 04 Sep 2023 20:37:52 +0000
parents d4151cef9d95
children e1629a7c8ae3
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
SUBDIR=	eeproms fteeprom

INSTALL_PREFIX=	/opt/freecalypso

all:	${SUBDIR}

${SUBDIR}: FRC
	cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}"

clean: FRC
	rm -f a.out core errs
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done

install: FRC
	mkdir -p ${INSTALL_PREFIX}
	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \
		INSTALL_PREFIX=${INSTALL_PREFIX} install); done

FRC: