view rvinterf/etmsync/Makefile @ 676:61df1066039e

alr_cs.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Sep 2014 04:54:15 +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}