view rvinterf/tmsh/Makefile @ 97:202b5aa009bc

target-utils/include: our own ctype.h and strings.h added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 31 Oct 2016 23:49:11 +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}