diff rvinterf/Makefile @ 172:019120585a1c

etmsend hack-utility written, compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 20 Nov 2013 06:25:05 +0000
parents 4d8e4c58df71
children
line wrap: on
line diff
--- a/rvinterf/Makefile	Wed Nov 20 05:39:31 2013 +0000
+++ b/rvinterf/Makefile	Wed Nov 20 06:25:05 2013 +0000
@@ -1,19 +1,23 @@
 CC=	gcc
 CFLAGS=	-O2
 PROGS=	rvtdump
+XPROGS=	etmsend
 INSTBIN=/usr/local/bin
 
 RVTDUMP_OBJS=	log.o openport.o packetrx.o packettx.o rvtdump.o rvtdump_tx.o \
 		trdump.o
 
-all:	${PROGS}
+all:	${PROGS} ${XPROGS}
 
 rvtdump:	${RVTDUMP_OBJS}
 	${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS}
 
+etmsend:	etmsend.c
+	${CC} ${CFLAGS} -o $@ $@.c
+
 install:	${PROGS}
 	mkdir -p ${INSTBIN}
 	install -c ${PROGS} ${INSTBIN}
 
 clean:
-	rm -f *.o *.out *errs ${PROGS}
+	rm -f *.o *.out *errs ${PROGS} ${XPROGS}