You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.3KB

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