view rvinterf/tmsh/Makefile @ 116:3eb75280b38b

rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 18 Feb 2017 06:54:06 +0000
parents 2825d79bb151
children 4070847293a9
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROG=	fc-tmsh
OBJS=	abb.o audiocmd.o etmbasic.o ffs2.o ffs2resp.o init.o l1cmd.o main.o \
	misc.o omr.o oneshot.o pktsort.o tmcore.o usercmd.o
LIBS=	../libasync/libasync.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}