view sw/sniff-dec/Makefile @ 45:b0524d1dc6ef

simtrace3-sniff-dec: implement command decoding
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 31 Aug 2023 09:32:48 +0000
parents 5804ff735f9e
children 7c9bf72d460f
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}
	${CC} ${CFLAGS} -o $@ ${OBJS}

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

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