view sw/sniff-dec/Makefile @ 54:2855330ab96f

simsniff-dec: bug in PPS decoder
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 03 Oct 2023 23:32:43 +0000
parents 7c9bf72d460f
children 966a54303d68
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	simsniff-dec
OBJS=	atr.o command.o dispatch.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}