view sw/sniff-dec/Makefile @ 58:95ed46b5f8f1 default tip

doc/Sniffing-hw-setup: mv-sniffer is here
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 04 Oct 2023 05:55:09 +0000
parents 966a54303d68
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	simsniff-dec
OBJS=	atr.o command.o dispatch.o hl_decode.o invtable.o main.o parity.o pps.o

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

${PROG}:	${OBJS}
	${CC} ${CFLAGS} -o $@ ${OBJS}

install:
	mkdir -p ${INSTBIN}
	install -c ${PROG} ${INSTBIN}

clean:
	rm -f *.o ${PROG}