view pirollback/Makefile @ 85:3c420895f68f

compal boot ROM re: minor progress
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 27 Mar 2014 19:34:07 +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}