PageRenderTime 19ms CodeModel.GetById 11ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/filesystems/loopback/Makefile

http://macfuse.googlecode.com/
Makefile | 26 lines | 20 code | 6 blank | 0 comment | 0 complexity | a4c9168258f9c80f32c2db4abd04c669 MD5 | raw file
 1TARGETS = loopback
 2
 3CC = gcc
 4CFLAGS_MACFUSE = -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse
 5CFLAGS_EXTRA = -Wall -g -D__DARWIN_64_BIT_INO_T=1
 6ARCHS = -arch i386 -arch ppc
 7LIBS = -lfuse_ino64
 8
 9.c:
10	$(CC) $(CFLAGS_MACFUSE) $(CFLAGS_EXTRA) $(ARCHS) -o $@ $< $(LIBS)
11
12all: info
13
14loopback: loopback.c
15
16info: $(TARGETS)
17	@echo
18	@echo Compiled. The following is a typical way to run the loopback file system. In
19	@echo this example, /tmp/dir is an existing directory whose contents will become
20	@echo available in the existing mount point /Volumes/loop:
21	@echo
22	@echo "sudo ./loopback /Volumes/loop -omodules=threadid:subdir,subdir=/tmp/dir -oallow_other,native_xattr,volname=LoopbackFS"
23	@echo
24
25clean:
26	rm -f $(TARGETS) *.o