17 lines
619 B
Makefile
17 lines
619 B
Makefile
CONSOLE_COMMON_SRCDIR=codec/console/common
|
|
CONSOLE_COMMON_CPP_SRCS=\
|
|
$(CONSOLE_COMMON_SRCDIR)/src/read_config.cpp\
|
|
|
|
CONSOLE_COMMON_OBJS += $(CONSOLE_COMMON_CPP_SRCS:.cpp=.$(OBJ))
|
|
|
|
OBJS += $(CONSOLE_COMMON_OBJS)
|
|
$(CONSOLE_COMMON_SRCDIR)/%.$(OBJ): $(CONSOLE_COMMON_SRCDIR)/%.cpp
|
|
$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(CONSOLE_COMMON_CFLAGS) $(CONSOLE_COMMON_INCLUDES) -c $(CXX_O) $<
|
|
|
|
$(LIBPREFIX)console_common.$(LIBSUFFIX): $(CONSOLE_COMMON_OBJS)
|
|
$(QUIET)rm -f $@
|
|
$(QUIET_AR)$(AR) $(AR_OPTS) $+
|
|
|
|
libraries: $(LIBPREFIX)console_common.$(LIBSUFFIX)
|
|
LIBRARIES += $(LIBPREFIX)console_common.$(LIBSUFFIX)
|