view mpffs/Makefile @ 34:95f61c3b430a

mpffs-rdutils: pathname search implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Jun 2013 16:20:28 +0000
parents 660b0ea739f3
children ee4c761187cf
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	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-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}