diff rvinterf/l1filter/Makefile @ 855:ea458ee48691

rvinterf/l1filter: new program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Nov 2021 23:14:22 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rvinterf/l1filter/Makefile	Tue Nov 09 23:14:22 2021 +0000
@@ -0,0 +1,22 @@
+CC=	gcc
+CFLAGS=	-O2
+CPPFLAGS=-I../include
+PROG=	l1trace-filter
+OBJS=	init.o main.o pktsort.o rvif_rx.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}