view rvinterf/tmsh/Makefile @ 389:e60aecf23970

target-utils: ABB operations implemented (ported from OsmocomBB), linked into pirexplore
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 11 Jun 2014 06:50:46 +0000
parents 40b8557b9d04
children 1ee80bcb0fd0
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROGS=	fc-tmsh
INSTBIN=/usr/local/bin
LIBS=	../libasync/libasync.a

TMSH_OBJS=	abb.o etmbasic.o ffs2.o ffs2resp.o ffs2wr.o init.o main.o \
		misc.o pktsort.o tmcore.o usercmd.o

all:	${PROGS}

fc-tmsh:	${TMSH_OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${TMSH_OBJS} ${LIBS}

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

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