view rvinterf/etmsync/Makefile @ 273:18a8fb3d845b

fc-tmsync: user command wrappers implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 16 Nov 2017 23:33:50 +0000
parents 095ffce023d4
children d332fbf5c145
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROGS=	fc-dspapidump fc-fsio fc-memdump fc-tmsync
INSTBIN=/opt/freecalypso/bin
INSTHELP=/opt/freecalypso/helpfiles

DSPDUMP_OBJS=	connect.o dspapidump.o interf.o launchrvif.o memops.o \
		simplemain.o

FSIO_OBJS=	cl_des.o connect.o dispatch.o fdcmd.o fileio.o fsbasics.o \
		fscmdtab.o fserr.o fsiomain.o fsmisc.o fspath.o fsread.o \
		fsupload.o fswrite.o help.o interf.o launchrvif.o memcmd.o \
		memops.o pirimei.o pirmagnetite.o rfcap.o stddirs.o symlink.o

MEMDUMP_OBJS=	connect.o interf.o launchrvif.o memdump.o memops.o

TMSYNC_OBJS=	cl_des.o connect.o dispatch.o interf.o l1tmcmd.o l1tmops.o \
		launchrvif.o memcmd.o memops.o pirimei.o rftablewr.o \
		tmscmdtab.o tmsmain.o

all:	${PROGS}

fc-dspapidump:	${DSPDUMP_OBJS}
	${CC} ${CFLAGS} -o $@ ${DSPDUMP_OBJS}

fc-fsio:	${FSIO_OBJS}
	${CC} ${CFLAGS} -o $@ ${FSIO_OBJS}

fc-memdump:	${MEMDUMP_OBJS}
	${CC} ${CFLAGS} -o $@ ${MEMDUMP_OBJS}

fc-tmsync:	${TMSYNC_OBJS}
	${CC} ${CFLAGS} -o $@ ${TMSYNC_OBJS}

rftablewr.o:	../tmsh/rftablewr.c
	${CC} ${CFLAGS} -c -o $@ $<

install:	${PROGS}
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}
	mkdir -p ${INSTHELP}
	install -c -m 644 fsio.help ${INSTHELP}

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