您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

43 行
1.3KB

  1. #--------------------------------Output------------------------------
  2. # OUTTYPE: 0-exe, 1-dll, 2-static
  3. #--------------------------------------------------------------------
  4. OUTTYPE = 2
  5. OUTFILE = librtp.a
  6. #-------------------------------Include------------------------------
  7. #
  8. # INCLUDES = $(addprefix -I,$(INCLUDES)) # add -I prefix
  9. #--------------------------------------------------------------------
  10. INCLUDES = . ./include
  11. #-------------------------------Source-------------------------------
  12. #
  13. #--------------------------------------------------------------------
  14. SOURCE_PATHS = source payload rtpext
  15. SOURCE_FILES = $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.cpp))
  16. SOURCE_FILES += $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.c))
  17. #-----------------------------Library--------------------------------
  18. #
  19. # LIBPATHS = $(addprefix -L,$(LIBPATHS)) # add -L prefix
  20. #--------------------------------------------------------------------
  21. LIBPATHS =
  22. ifdef RELEASE
  23. # relase library path
  24. LIBPATHS +=
  25. else
  26. LIBPATHS +=
  27. endif
  28. LIBS =
  29. STATIC_LIBS =
  30. #-----------------------------DEFINES--------------------------------
  31. #
  32. # DEFINES := $(addprefix -D,$(DEFINES)) # add -L prefix
  33. #--------------------------------------------------------------------
  34. DEFINES =
  35. include ../gcc.mk