view rvinterf/etmsync/Makefile @ 284:7b4d4e3e610a

fc-fsio: functions written for file descriptor open/read/close
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 28 Feb 2014 05:50:01 +0000
parents 88eed3327682
children 146e7bf3fa4e
line wrap: on
line source

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

FSIO_OBJS=	connect.o dispatch.o fileio.o fsbasics.o fscmdtab.o fsiomain.o \
		fsread.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}