view rvinterf/Makefile @ 141:f8bb6cd4edd3

k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 04:53:30 +0000
parents e0d56e9be8a2
children 4d8e4c58df71
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	rvtdump
INSTBIN=/usr/local/bin

RVTDUMP_OBJS=	log.o openport.o packetrx.o rvtdump.o trdump.o

all:	${PROGS}

rvtdump:	${RVTDUMP_OBJS}
	${CC} ${CFLAGS} -o $@ ${RVTDUMP_OBJS}

install:	${PROGS}
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out *errs ${PROGS}