comparison 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
comparison
equal deleted inserted replaced
171:4d8e4c58df71 172:019120585a1c
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= rvtdump 3 PROGS= rvtdump
4 XPROGS= etmsend
4 INSTBIN=/usr/local/bin 5 INSTBIN=/usr/local/bin
5 6
6 RVTDUMP_OBJS= log.o openport.o packetrx.o packettx.o rvtdump.o rvtdump_tx.o \ 7 RVTDUMP_OBJS= log.o openport.o packetrx.o packettx.o rvtdump.o rvtdump_tx.o \
7 trdump.o 8 trdump.o
8 9
9 all: ${PROGS} 10 all: ${PROGS} ${XPROGS}
10 11
11 rvtdump: ${RVTDUMP_OBJS} 12 rvtdump: ${RVTDUMP_OBJS}
12 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} 13 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS}
14
15 etmsend: etmsend.c
16 ${CC} ${CFLAGS} -o $@ $@.c
13 17
14 install: ${PROGS} 18 install: ${PROGS}
15 mkdir -p ${INSTBIN} 19 mkdir -p ${INSTBIN}
16 install -c ${PROGS} ${INSTBIN} 20 install -c ${PROGS} ${INSTBIN}
17 21
18 clean: 22 clean:
19 rm -f *.o *.out *errs ${PROGS} 23 rm -f *.o *.out *errs ${PROGS} ${XPROGS}