1 --- a/squashfs-tools/Makefile
2 +++ b/squashfs-tools/Makefile
5 +#LZMAPATH = ../lzma/SRC/7zip/Compress/LZMA_Lib
7 CFLAGS := -I$(INCLUDEDIR) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2
10 mksquashfs: mksquashfs.o read_fs.o sort.o
11 $(CC) mksquashfs.o read_fs.o sort.o -lz -o $@
13 +mksquashfs-lzma: mksquashfs.o read_fs.o sort.o
14 + $(CXX) mksquashfs.o read_fs.o sort.o -L$(LZMAPATH) -llzma -o $@
16 mksquashfs.o: mksquashfs.c squashfs_fs.h mksquashfs.h global.h sort.h
18 read_fs.o: read_fs.c squashfs_fs.h read_fs.h global.h
20 unsquashfs: unsquashfs.o
21 $(CC) unsquashfs.o -lz -o $@
23 +unsquashfs-lzma: unsquashfs.o
24 + $(CXX) unsquashfs.o -L$(LZMAPATH) -llzma -o $@
26 unsquashfs.o: unsquashfs.c squashfs_fs.h read_fs.h global.h