comparison rvinterf/old/Makefile @ 173:f42854da4563

rvinterf: beginning of refactoring
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 22 Nov 2013 05:56:07 +0000
parents rvinterf/Makefile@019120585a1c
children
comparison
equal deleted inserted replaced
172:019120585a1c 173:f42854da4563
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= rvtdump
4 XPROGS= etmsend
5 INSTBIN=/usr/local/bin
6
7 RVTDUMP_OBJS= log.o openport.o packetrx.o packettx.o rvtdump.o rvtdump_tx.o \
8 trdump.o
9
10 all: ${PROGS} ${XPROGS}
11
12 rvtdump: ${RVTDUMP_OBJS}
13 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS}
14
15 etmsend: etmsend.c
16 ${CC} ${CFLAGS} -o $@ $@.c
17
18 install: ${PROGS}
19 mkdir -p ${INSTBIN}
20 install -c ${PROGS} ${INSTBIN}
21
22 clean:
23 rm -f *.o *.out *errs ${PROGS} ${XPROGS}