view pirollback/Makefile @ 50:40b1ae2ab2d7

pirollback: actual rollback utility implemented, compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 24 Jul 2013 19:50:24 +0000
parents 18fa570685de
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	analyze catino dumpjournal inopath rollback

ANALYZE_OBJS=	analyze.o checknames.o init.o journal.o treewalk.o
CAT_OBJS=	catino.o checknames.o init.o journal.o treewalk.o
DUMPJ_OBJS=	checknames.o dumpjournal.o init.o journal.o pathname.o \
		treewalk.o
INOPATH_OBJS=	checknames.o init.o inopath.o pathname.o treewalk.o
ROLLBACK_OBJS=	checknames.o init.o journal.o pathname.o rollback.o treewalk.o

all:	${PROGS}

analyze:	${ANALYZE_OBJS}
	${CC} -o $@ ${ANALYZE_OBJS}

catino:		${CAT_OBJS}
	${CC} -o $@ ${CAT_OBJS}

dumpjournal:	${DUMPJ_OBJS}
	${CC} -o $@ ${DUMPJ_OBJS}

inopath:	${INOPATH_OBJS}
	${CC} -o $@ ${INOPATH_OBJS}

rollback:	${ROLLBACK_OBJS}
	${CC} -o $@ ${ROLLBACK_OBJS}

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