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.

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