view rvinterf/ctracedec/Makefile @ 818:cf30ebf626bb

CHANGES: BSIM support
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 May 2021 02:31:44 +0000
parents 90d7c360a614
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROG=	ctracedec
OBJS=	decode.o doprnt.o main.o processlog.o readtab.o

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

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

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

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