view rvinterf/etmsync/Makefile @ 706:0c6dd0dcbfe6

dl_drr.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 Oct 2014 04:05:21 +0000
parents cd5068cf0551
children 42719fa3e6af
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROGS=	fc-fsio
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 symlink.o

all:	${PROGS}

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

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

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