view rvinterf/rvtat/Makefile @ 530:c4c0c9cc2a7c

CHANGES: refer to the new doc/Target-utils document
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 16 Jun 2019 19:02:52 +0000
parents 90d7c360a614
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
CPPFLAGS=-I../include
PROG=	fcup-rvtat
OBJS=	interf.o main.o
LIBS=	../libinterf/libinterf.a

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin

all:	${PROG}

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

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

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