view rvinterf/Makefile @ 171:4d8e4c58df71

rvtdump: implemented Tx extension hack, compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 20 Nov 2013 05:39:31 +0000
parents e0d56e9be8a2
children 019120585a1c
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	rvtdump
INSTBIN=/usr/local/bin

RVTDUMP_OBJS=	log.o openport.o packetrx.o packettx.o rvtdump.o rvtdump_tx.o \
		trdump.o

all:	${PROGS}

rvtdump:	${RVTDUMP_OBJS}
	${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS}

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

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