TARGETS = maxim test_misc hello # Root for FUSE includes and libraries # for macFUSE 4.2 FUSE_ROOT = /usr/local #FUSE=osxfuse FUSE=fuse CC = cc #INCLUDE_DIR = $(FUSE_ROOT)/include/$(FUSE)/fuse INCLUDE_DIR = $(FUSE_ROOT)/include/fuse LIBRARY_DIR = $(FUSE_ROOT)/lib CFLAGS =\ -Wall -g\ -I$(INCLUDE_DIR)\ -D_FILE_OFFSET_BITS=64\ -D_DARWIN_USE_64_BIT_INODE\ -DFUSE_USE_VERSION=26\ LIBS = -l$(FUSE) .o: $(CC) $(CFLAGS) -o $@ $< -L$(LIBRARY_DIR) $(LIBS) misc.o all: $(TARGETS) # the dependency listed below may not be required. # but the explicit descriptions are helpful for human. maxim: maxim.o misc.o test_misc: test_misc.o misc.o hello: hello.o clean: rm -f $(TARGETS) *.o rm -rf *.dSYM