comparison 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
comparison
equal deleted inserted replaced
49:18fa570685de 50:40b1ae2ab2d7
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= analyze catino dumpjournal inopath 3 PROGS= analyze catino dumpjournal inopath rollback
4 4
5 ANALYZE_OBJS= analyze.o checknames.o init.o journal.o treewalk.o 5 ANALYZE_OBJS= analyze.o checknames.o init.o journal.o treewalk.o
6 CAT_OBJS= catino.o checknames.o init.o journal.o treewalk.o 6 CAT_OBJS= catino.o checknames.o init.o journal.o treewalk.o
7 DUMPJ_OBJS= checknames.o dumpjournal.o init.o journal.o pathname.o \ 7 DUMPJ_OBJS= checknames.o dumpjournal.o init.o journal.o pathname.o \
8 treewalk.o 8 treewalk.o
9 INOPATH_OBJS= checknames.o init.o inopath.o pathname.o treewalk.o 9 INOPATH_OBJS= checknames.o init.o inopath.o pathname.o treewalk.o
10 ROLLBACK_OBJS= checknames.o init.o journal.o pathname.o rollback.o treewalk.o
10 11
11 all: ${PROGS} 12 all: ${PROGS}
12 13
13 analyze: ${ANALYZE_OBJS} 14 analyze: ${ANALYZE_OBJS}
14 ${CC} -o $@ ${ANALYZE_OBJS} 15 ${CC} -o $@ ${ANALYZE_OBJS}
20 ${CC} -o $@ ${DUMPJ_OBJS} 21 ${CC} -o $@ ${DUMPJ_OBJS}
21 22
22 inopath: ${INOPATH_OBJS} 23 inopath: ${INOPATH_OBJS}
23 ${CC} -o $@ ${INOPATH_OBJS} 24 ${CC} -o $@ ${INOPATH_OBJS}
24 25
26 rollback: ${ROLLBACK_OBJS}
27 ${CC} -o $@ ${ROLLBACK_OBJS}
28
25 clean: 29 clean:
26 rm -f *.o *.out *errs ${PROGS} 30 rm -f *.o *.out *errs ${PROGS}