view rvinterf/lowlevel/Makefile @ 176:7f727aaf5cd4

rvinterf: beginning of server implementation
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 23 Nov 2013 07:40:13 +0000
parents 2f214bd03119
children fef035264dd4
line wrap: on
line source

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

RVTDUMP_OBJS=	format.o format_g23.o openport.o output.o packetrx.o rvtdump.o

RVINTERF_OBJS=	format.o format_g23.o logsent.o openport.o output.o packetrx.o \
		packettx.o rvifmain.o

all:	${PROGS}

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

rvinterf:	${RVINTERF_OBJS}
	${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS}

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

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