diff rvinterf/rvtat/Makefile @ 421:ab8fb95a28da

rvinterf/rvtat converted to use libinterf
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 Oct 2018 23:48:20 +0000
parents 99471c57155a
children 1d5bd9a06781
line wrap: on
line diff
--- a/rvinterf/rvtat/Makefile	Sat Oct 27 23:39:57 2018 +0000
+++ b/rvinterf/rvtat/Makefile	Sat Oct 27 23:48:20 2018 +0000
@@ -1,13 +1,14 @@
 CC=	gcc
 CFLAGS=	-O2 -I../include
 PROG=	fcup-rvtat
-OBJS=	connect.o interf.o launchrvif.o main.o
+OBJS=	interf.o main.o
+LIBS=	../libinterf/libinterf.a
 INSTBIN=/opt/freecalypso/bin
 
 all:	${PROG}
 
-${PROG}: ${OBJS}
-	${CC} ${CFLAGS} -o $@ ${OBJS}
+${PROG}: ${OBJS} ${LIBS}
+	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}
 
 install:	${PROG}
 	mkdir -p ${INSTBIN}