ext4-realloc-inodes/Makefile

11 lines
573 B
Makefile
Raw Permalink Normal View History

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
2014-01-12 16:43:19 +04:00
test-ext2.img:
sudo sh test-mkimages.sh
2014-01-13 00:53:26 +04:00
sudo chown $(shell id -u) *.img
2014-01-12 16:43:19 +04:00
test: test-ext2.img realloc-inodes e2patch
perl run-tests.pl