view rvinterf/etmsync/Makefile @ 995:74024eb17e04

fc-loadtool help: improve language regarding 16 MiB flash chips In FC project history, 16 MiB flash originally meant Pirelli DP-L10. Then we got FCDEV3B with the same flash (our own design), but now we are discovering more Calypso devices that used such large flash, both late Calypso era (Sony Ericsson K2x0) as well as much earlier ones (FIC FLUID devices.txt file with 2004 dates, Leonardo+ rev 5). Hence we need to migrate to more generic or neutral language in associated documentation, without giving elevated status to specific examples that drove our early project history.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Dec 2023 21:11:12 +0000
parents 379574e5cf5e
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
CPPFLAGS=-I../include
PROGS=	fc-dspapidump fc-fsio fc-memdump fc-readcal fc-tmsync

INSTALL_PREFIX=	/opt/freecalypso

INSTBIN=${INSTALL_PREFIX}/bin
INSTHELP=${INSTALL_PREFIX}/helpfiles

LIBINTERF=	../libinterf/libinterf.a
LIBRFTAB=	../../librftab/librftab.a

DSPDUMP_OBJS=	dspapidump.o interf.o memops.o simplemain.o ${LIBINTERF}

FSIO_OBJS=	cl_des.o cleandir.o dispatch.o fdcmd.o fileio.o fsbasics.o \
		fscmdtab.o fserr.o fsiomain.o fsmisc.o fsnew.o fspath.o \
		fsread.o fsupload.o fsuploadrf.o fswrite.o help.o hostmkdir.o \
		interf.o memcmd.o memops.o pirimei.o pirmagnetite.o rfcap.o \
		stddirs.o symlink.o ${LIBINTERF} ${LIBRFTAB}

MEMDUMP_OBJS=	interf.o memdump.o memops.o ${LIBINTERF}

READCAL_OBJS=	hostmkdir.o interf.o l1tmops.o readcal.o ${LIBINTERF}

TMSYNC_OBJS=	cl_des.o dispatch.o interf.o l1tmcmd.o l1tmops.o memcmd.o \
		memops.o piradccal.o pirimei.o tmsaur.o tmscmdtab.o tmsmain.o \
		${LIBINTERF} ${LIBRFTAB}

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-readcal:	${READCAL_OBJS}
	${CC} ${CFLAGS} -o $@ ${READCAL_OBJS}

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

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}