comparison 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
comparison
equal deleted inserted replaced
915:7b805007dcfc 916:8e1c55cf7989
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 -I../include 2 CFLAGS= -O2 -I../include
3 PROGS= fc-fsio 3 PROGS= fc-fsio fc-getpirimei
4 INSTBIN=/usr/local/bin 4 INSTBIN=/usr/local/bin
5 5
6 FSIO_OBJS= connect.o dispatch.o fdcmd.o fileio.o fsbasics.o fscmdtab.o \ 6 FSIO_OBJS= connect.o dispatch.o fdcmd.o fileio.o fsbasics.o fscmdtab.o \
7 fserr.o fsiomain.o fsmisc.o fspath.o fsread.o fsupload.o \ 7 fserr.o fsiomain.o fsmisc.o fspath.o fsread.o fsupload.o \
8 fswrite.o interf.o launchrvif.o memcmd.o memops.o rfcap.o \ 8 fswrite.o interf.o launchrvif.o memcmd.o memops.o rfcap.o \
9 stddirs.o symlink.o 9 stddirs.o symlink.o
10 10
11 PIRIMEI_OBJS= connect.o interf.o launchrvif.o memops.o pirimei.o \
12 pirimeimain.o simplemain.o
13
11 all: ${PROGS} 14 all: ${PROGS}
12 15
13 fc-fsio: ${FSIO_OBJS} 16 fc-fsio: ${FSIO_OBJS}
14 ${CC} ${CFLAGS} -o $@ ${FSIO_OBJS} 17 ${CC} ${CFLAGS} -o $@ ${FSIO_OBJS}
18
19 fc-getpirimei: ${PIRIMEI_OBJS}
20 ${CC} ${CFLAGS} -o $@ ${PIRIMEI_OBJS} -lcrypto
15 21
16 install: ${PROGS} 22 install: ${PROGS}
17 mkdir -p ${INSTBIN} 23 mkdir -p ${INSTBIN}
18 install -c ${PROGS} ${INSTBIN} 24 install -c ${PROGS} ${INSTBIN}
19 25