view sw/Makefile @ 30:dc99c9962aed

fpga/sniffer-*: forgot to change SIM_RST to SIM_RST_in for LED5
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Aug 2023 20:36:34 +0000
parents abb72a74f27a
children 28ffdfa193f3
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGDIR=sniff-rx
LIBDIR=	libserial
SUBDIR=	${PROGDIR} ${LIBDIR}

all:	${SUBDIR}

sniff-rx:	libserial

${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

FRC: