view mpffs/Makefile @ 35:ee4c761187cf

mpffs-cat implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Jun 2013 16:55:19 +0000
parents 95f61c3b430a
children 390be89892c4
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	mpffs-cat mpffs-dbgls mpffs-ls
INSTDIR=/usr/local/bin

CAT_OBJS=	common.o cat.o find.o
DBGLS_OBJS=	common.o dbgls.o find.o
LS_OBJS=	common.o ls.o
XTR_OBJS=	common.o xtr.o

all:	${PROGS}

mpffs-cat:	${CAT_OBJS}
	${CC} -o $@ ${CAT_OBJS}

mpffs-dbgls:	${DBGLS_OBJS}
	${CC} -o $@ ${DBGLS_OBJS}

mpffs-ls:	${LS_OBJS}
	${CC} -o $@ ${LS_OBJS}

install:
	install -c ${PROGS} ${INSTDIR}

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