common-gtc.mk 483 B

12345678910111213
  1. # This Makefile is used for source codes that depend on the GTC code tree.
  2. # It is expected that the current working directory is of the form src/xxx/yyy.
  3. #
  4. # Note that GTC itself may need more C defines to be compiled, but they will
  5. # only be required in .c files, not .h files, so they are not defined here.
  6. include ../../common.mk
  7. include ../../config.mk
  8. GTC_SOURCE = ../../gtc/src
  9. GTC_HEADERS = $(GTC_SOURCE)/*.h
  10. CFLAGS = $(DEFAULT_CFLAGS) -I$(GTC_SOURCE) $(GTC_ARCH_DEFINES)