all: realloc-inodes e2patch realloc-inodes: realloc-inodes.c bmove.c bmove.h check_uninit.c check_uninit.h Makefile patch_io.c patch_io.h patch.c patch.h gcc -D_FILE_OFFSET_BITS=64 -g -Wsign-compare -Wall -o realloc-inodes -lcom_err -lext2fs realloc-inodes.c bmove.c patch_io.c patch.c check_uninit.c e2patch: e2patch.c patch.c patch.h gcc -D_FILE_OFFSET_BITS=64 -g -Wsign-compare -Wall -o e2patch -lcom_err -lext2fs e2patch.c patch.c test-ext2.img: sudo sh test-mkimages.sh sudo chown $(shell id -u) *.img test: test-ext2.img realloc-inodes e2patch perl run-tests.pl