view rvinterf/tmsh/Makefile @ 70:2c6dca514a20

fc-tmsh works like fc-shell and fc-fsio now, following the -p convention
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 26 Oct 2016 23:33:21 +0000
parents ee04baba7b2b
children 27c41e4b21ae
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 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}