view pirollback/Makefile @ 162:8d30e1722e0f

locked C139 bootloader reverse-engineered
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 15 May 2014 20:55:39 +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}