view rvinterf/etmsync/Makefile @ 295:3dd74b16df82

fc-fsio: pathname recursion handling revamped
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 01 Mar 2014 08:01:08 +0000
parents 76228aecf0d9
children 0242d5facf7b
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 fspath.o fsread.o fswrite.o interf.o \
		launchrvif.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}