view pirollback/Makefile @ 215:d69f7512e3c1

Pirelli: documented and verified the checksum scheme used for the factory block
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Dec 2016 23:48:16 +0000
parents 40b1ae2ab2d7
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}