comparison rvinterf/lowlevel/Makefile @ 359:144b5d222de8

tfc139 hack utility started, compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 10:32:30 +0000
parents 2ac2f6d88bb2
children ed5dcc53e0b3
comparison
equal deleted inserted replaced
358:b39802cd9329 359:144b5d222de8
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= rvtdump rvinterf 3 PROGS= rvtdump rvinterf tfc139
4 INSTBIN=/usr/local/bin 4 INSTBIN=/usr/local/bin
5 LIBG23= ../libg23/libg23.a 5 LIBG23= ../libg23/libg23.a
6 6
7 RVTDUMP_OBJS= format.o openport.o output.o packetrx.o rvtdump.o 7 RVTDUMP_OBJS= format.o openport.o output.o packetrx.o rvtdump.o
8 8
9 RVINTERF_OBJS= clientcmd.o format.o localsock.o logsent.o openport.o output.o \ 9 RVINTERF_OBJS= clientcmd.o format.o localsock.o logsent.o openport.o output.o \
10 packetrx.o packettx.o pktfwd.o rvifmain.o 10 packetrx.o packettx.o pktfwd.o rvifmain.o
11
12 TFC139_OBJS= format.o openport.o output.o packetrx.o packettx.o tfc139.o
11 13
12 all: ${PROGS} 14 all: ${PROGS}
13 15
14 rvtdump: ${RVTDUMP_OBJS} ${LIBG23} 16 rvtdump: ${RVTDUMP_OBJS} ${LIBG23}
15 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} ${LIBG23} 17 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} ${LIBG23}
16 18
17 rvinterf: ${RVINTERF_OBJS} ${LIBG23} 19 rvinterf: ${RVINTERF_OBJS} ${LIBG23}
18 ${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS} ${LIBG23} 20 ${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS} ${LIBG23}
19 21
22 tfc139: ${TFC139_OBJS} ${LIBG23}
23 ${CC} ${CFLAGS} -o $@ ${TFC139_OBJS} ${LIBG23}
24
20 install: ${PROGS} 25 install: ${PROGS}
21 mkdir -p ${INSTBIN} 26 mkdir -p ${INSTBIN}
22 install -c ${PROGS} ${INSTBIN} 27 install -c ${PROGS} ${INSTBIN}
23 28
24 clean: 29 clean: