comparison rvinterf/lowlevel/Makefile @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children 642da3373772
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= rvtdump rvinterf tfc139
4 INSTBIN=/usr/local/bin
5 LIBG23= ../libg23/libg23.a
6
7 RVTDUMP_OBJS= format.o format_fc.o openport.o output.o packetrx.o rvtdump.o
8
9 RVINTERF_OBJS= clientcmd.o format.o format_fc.o localsock.o logsent.o \
10 openport.o output.o packetrx.o packettx.o pktfwd.o rviflcd.o \
11 rvifmain.o
12
13 TFC139_OBJS= format.o openport.o output.o packetrx.o packettx.o tfc139.o
14
15 all: ${PROGS}
16
17 rvtdump: ${RVTDUMP_OBJS} ${LIBG23}
18 ${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS} ${LIBG23}
19
20 rvinterf: ${RVINTERF_OBJS} ${LIBG23}
21 ${CC} ${CFLAGS} -o $@ ${RVINTERF_OBJS} ${LIBG23}
22
23 tfc139: ${TFC139_OBJS} ${LIBG23}
24 ${CC} ${CFLAGS} -o $@ ${TFC139_OBJS} ${LIBG23}
25
26 install: ${PROGS}
27 mkdir -p ${INSTBIN}
28 install -c ${PROGS} ${INSTBIN}
29
30 clean:
31 rm -f *.o *.out *errs ${PROGS}