view rvinterf/etmsync/Makefile @ 916:8e1c55cf7989

fc-getpirimei implemented, compiles
author Space Falcon <falcon@ivan.Harhan.ORG>
date Tue, 08 Sep 2015 18:59:29 +0000
parents de0505be800d
children c298d579788e
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROGS=	fc-fsio fc-getpirimei
INSTBIN=/usr/local/bin

FSIO_OBJS=	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 interf.o launchrvif.o memcmd.o memops.o rfcap.o \
		stddirs.o symlink.o

PIRIMEI_OBJS=	connect.o interf.o launchrvif.o memops.o pirimei.o \
		pirimeimain.o simplemain.o

all:	${PROGS}

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

fc-getpirimei:	${PIRIMEI_OBJS}
	${CC} ${CFLAGS} -o $@ ${PIRIMEI_OBJS} -lcrypto

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

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