view pirollback/Makefile @ 96:dd6c92a1aa34

arm7dis/Makefile: install added
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 30 Mar 2014 07:22:33 +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}