view sw/sniff-dec/Makefile @ 41:118a12e9483b

simtrace3-sniff-dec started
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 31 Aug 2023 08:46:23 +0000
parents sw/sniff-rx/Makefile@fb9c03515832
children 5804ff735f9e
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	simtrace3-sniff-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} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

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

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