view rvinterf/tmsh/Makefile @ 325:545e1718f5fb

fc-loadtool: support for 28F640W30B flash chip with partition quirks
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 20 Jan 2018 05:20:40 +0000
parents 92c982f67247
children c1aadfcd185f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROG=	fc-tmsh
OBJS=	abb.o abbtm3.o audiocmd.o audioresp.o etmbasic.o ffs2.o ffs2resp.o \
	init.o l1cmd.o l1resp.o main.o misc.o omr.o omw.o oneshot.o pktsort.o \
	rftablechk.o saverftab.o tmcore.o usercmd.o
LIBS=	../libasync/libasync.a ../../librftab/librftab.a
INSTBIN=/opt/freecalypso/bin

all:	${PROG}

${PROG}: ${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

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

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