1 --- a/squashfs-tools/Makefile
2 +++ b/squashfs-tools/Makefile
3 @@ -7,6 +8,9 @@ all: mksquashfs unsquashfs
4 mksquashfs: mksquashfs.o read_fs.o sort.o
5 $(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
7 +mksquashfs-lzma: mksquashfs.o read_fs.o sort.o
8 + $(CXX) mksquashfs.o read_fs.o sort.o -L$(LZMAPATH) -llzma-old -o $@
10 mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h
12 read_fs.o: read_fs.c squashfs_fs.h read_fs.h global.h
13 @@ -16,4 +20,9 @@ sort.o: sort.c squashfs_fs.h global.h so
14 unsquashfs: unsquashfs.o
15 $(CC) unsquashfs.o -lz -o $@
17 +unsquashfs-lzma: unsquashfs.o
18 + $(CXX) unsquashfs.o -L$(LZMAPATH) -llzma-old -o $@
20 unsquashfs.o: unsquashfs.c squashfs_fs.h read_fs.h global.h