view rvinterf/tmsh/Makefile @ 108:2b041d57de1f

target-utils/libcommon/cmd_baud_switch.c: const compiler warning fix
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 01 Nov 2016 01:12:00 +0000
parents 27c41e4b21ae
children 2825d79bb151
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 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}