|
- #--------------------------------Output------------------------------
- # OUTTYPE: 0-exe, 1-dll, 2-static
- #--------------------------------------------------------------------
- OUTTYPE = 2
- OUTFILE = libflv.a
-
- #-------------------------------Include------------------------------
- #
- # INCLUDES = $(addprefix -I,$(INCLUDES)) # add -I prefix
- #--------------------------------------------------------------------
- INCLUDES = . ./include
-
- #-------------------------------Source-------------------------------
- #
- #--------------------------------------------------------------------
- SOURCE_PATHS = source
- SOURCE_FILES = $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.cpp))
- SOURCE_FILES += $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.c))
-
- SOURCE_FILES := $(filter-out $(_SOURCE_FILES),$(SOURCE_FILES))
-
- #-----------------------------Library--------------------------------
- #
- # LIBPATHS = $(addprefix -L,$(LIBPATHS)) # add -L prefix
- #--------------------------------------------------------------------
- LIBPATHS =
- ifdef RELEASE
- # relase library path
- LIBPATHS +=
- else
- LIBPATHS +=
- endif
-
- LIBS =
-
- STATIC_LIBS =
-
- #-----------------------------DEFINES--------------------------------
- #
- # DEFINES := $(addprefix -D,$(DEFINES)) # add -L prefix
- #--------------------------------------------------------------------
- DEFINES =
-
- include ../gcc.mk
|