/filesystems/verybigfs/Makefile

http://macfuse.googlecode.com/ · Makefile · 28 lines · 12 code · 6 blank · 10 comment · 0 complexity · 652958b65c0e43d54c2d28b137680719 MD5 · raw file

  1. # Makefile
  2. # A "very big" file system with a "very big" file. All that you can read.
  3. #
  4. # Copyright Amit Singh. All Rights Reserved.
  5. # http://osxbook.com
  6. #
  7. # http://code.google.com/p/macfuse/
  8. #
  9. # Source License: GNU GENERAL PUBLIC LICENSE (GPL)
  10. #
  11. TARGETS = verybigfs
  12. CC = gcc
  13. CFLAGS_MACFUSE = -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26 -I/usr/local/include/fuse
  14. CFLAGS_EXTRA = -Wall -g
  15. ARCHS = -arch i386 -arch ppc
  16. LIBS = -lfuse
  17. .c:
  18. $(CC) $(CFLAGS_MACFUSE) $(CFLAGS_EXTRA) $(ARCHS) -o $@ $< $(LIBS)
  19. all: $(TARGETS)
  20. verybigfs: verybigfs.c
  21. clean:
  22. rm -f $(TARGETS) *.o