Advertisement
Guest User

Untitled

a guest
Oct 14th, 2012
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 1.86 KB | None | 0 0
  1. # The top level directory of the application.
  2.  
  3. BASE_DIR = .
  4.  
  5. # The TARGET variable determines what target system the application is
  6. # compiled for. It either refers to an XN file in the source directories
  7. # or a valid argument for the --target option when compiling.
  8.  
  9. TARGET = XR-USB-AUDIO-2.0-MC
  10.  
  11.  
  12. # The flags passed to xcc when building the application
  13.  
  14. BUILD_FLAGS     += -DAUDIO_2
  15. XCC_FLAGS       = $(BUILD_FLAGS) -fcomment-asm -Xmapper --map -Xmapper MAPFILE -Wall -O3 -report -lflash -fsubword-select -save-temps -g
  16. #-Wno-timing
  17. #-fschedule
  18.  
  19.  
  20. # The USED_MODULES variable lists other module used by the application. These
  21. # modules will extend the SOURCE_DIRS, INCLUDE_DIRS and LIB_DIRS variables.
  22. # Modules are expected to be in the directory above the BASE_DIR directory.
  23.  
  24. USED_MODULES = module_usb_shared.1v3 module_xud.0v60 module_usb_aud_shared.2v4 module_spdif_tx.1v37 module_spdif_rx.1v25 module_usb_midi.1v42 module_dfu.1v5 module_adat_rx_v3.1v02
  25.  
  26. # The following part of the Makefile includes the common build infrastructure
  27. # for compiling XMOS applications. You should not need to edit this apart from
  28. # changing the version of module_xmos_common.
  29.  
  30. include ../module_xmos_common/build/Makefile.common
  31.  
  32. # You can change the flags of a set of files using the SET_XCC_[lang]_FLAGS
  33. # functions. The first argument is a list of directories and the
  34. # second argument is the value to set the compile flags to. e.g.
  35. #
  36. # $(call SET_XCC_C_FLAGS, mydir1 mydir2, $(XCC_FLAGS) -g -O3)
  37.  
  38.  
  39. # You can change the flags of an individual file by setting the
  40. # XCC_FLAGS_[filename] variable. e.g.
  41. #
  42. # XCC_FLAGS_myfile.xc = $(XCC_FLAGS) -fsubword-select
  43.  
  44.  
  45.  
  46. clean: clean_common
  47.  
  48. # The final target of the build. This is usually dependent on a binary file
  49. # in the $(BIN_DIR) directory e.g.
  50. #
  51. #  all : $(BIN_DIR)/my_app.xe
  52.  
  53. all: $(BIN_DIR)/usb_audio.xe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement