Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #############################################################
  2. # Required variables for each makefile
  3. # Discard this section from all parent makefiles
  4. # Expected variables (with automatic defaults):
  5. # CSRCS (all "C" files in the dir)
  6. # SUBDIRS (all subdirs with a Makefile)
  7. # GEN_LIBS - list of libs to be generated ()
  8. # GEN_IMAGES - list of object file images to be generated ()
  9. # GEN_BINS - list of binaries to be generated ()
  10. # COMPONENTS_xxx - a list of libs/objs in the form
  11. # subdir/lib to be extracted and rolled up into
  12. # a generated lib/image xxx.a ()
  13. #
  14. ifndef PDIR
  15. GEN_LIBS = libprotocol.a
  16. endif
  17. #############################################################
  18. # Configuration i.e. compile options etc.
  19. # Target specific stuff (defines etc.) goes in here!
  20. # Generally values applying to a tree are captured in the
  21. # makefile at its root level - these are then overridden
  22. # for a subtree within the makefile rooted therein
  23. #
  24. #UNIVERSAL_TARGET_DEFINES = \
  25. # Other potential configuration flags include:
  26. # -DTXRX_TXBUF_DEBUG
  27. # -DTXRX_RXBUF_DEBUG
  28. # -DWLAN_CONFIG_CCX
  29. #############################################################
  30. # Recursion Magic - Don't touch this!!
  31. #
  32. # Each subtree potentially has an include directory
  33. # corresponding to the common APIs applicable to modules
  34. # rooted at that subtree. Accordingly, the INCLUDE PATH
  35. # of a module can only contain the include directories up
  36. # its parent path, and not its siblings
  37. #
  38. # Required for each makefile to inherit from the parent
  39. #
  40. INCLUDES := $(INCLUDES) -I $(PDIR)include
  41. PDIR := ../$(PDIR)
  42. sinclude $(PDIR)Makefile
  43. .PHONY: FORCE
  44. FORCE: