Makefile 695 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #####
  2. #
  3. # Makefile for FUSD
  4. #
  5. PREFIX = /usr/local
  6. LIBDIR = $(PREFIX)/lib
  7. INCDIR = $(PREFIX)/include
  8. CC = $(CROSS_COMPILE)gcc
  9. LD = $(CROSS_COMPILE)gcc
  10. INSTALL = install
  11. STRIP = $(CROSS_COMPILE)strip
  12. PREFIX = /usr/local
  13. BINDIR = $(PREFIX)/bin
  14. ETCDIR = /etc/$(TARGET)
  15. MANDIR = $(PREFIX)/man
  16. GCF = -std=gnu99 -O2 -g -I../include
  17. SCF = -fPIC
  18. SLF = -shared -nostdlib
  19. export
  20. ####################################################
  21. default:
  22. $(MAKE) -C libfusd
  23. $(MAKE) -C kfusd
  24. $(MAKE) -C examples
  25. install:
  26. $(MAKE) -C libfusd install
  27. $(MAKE) -C kfusd install
  28. $(MAKE) -C examples install
  29. clean:
  30. $(MAKE) -C kfusd clean
  31. $(MAKE) -C libfusd clean
  32. $(MAKE) -C examples clean