view rvinterf/tmsh/Makefile @ 984:cec20c461b3a

target-utils/pln-ppb-test: skeleton started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 02 Dec 2023 23:20:07 +0000
parents 6a0aa8d36d06
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
CPPFLAGS=-I../include
PROG=	fc-tmsh
OBJS=	abb.o abbtm3.o audiocmd.o audioresp.o bsimcmd.o bsimresp.o etmbasic.o \
	ffs2.o ffs2resp.o init.o l1cmd.o l1resp.o main.o misc.o omr.o omw.o \
	oneshot.o pktsort.o rftablechk.o saverftab.o tmcore.o usercmd.o
LIBS=	../libasync/libasync.a ../libprint/libprint.a ../libinterf/libinterf.a \
	../../librftab/librftab.a

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/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}