
This also avoids another manual edit in module/targets.mk. Now the file is completely autogenerated by the build/mktargets.sh script, just as all the other targets.mk files.
11 lines
303 B
Makefile
11 lines
303 B
Makefile
MODULE_SRCDIR=module
|
|
MODULE_CPP_SRCS=\
|
|
$(MODULE_SRCDIR)/gmp-openh264.cpp\
|
|
|
|
MODULE_OBJS += $(MODULE_CPP_SRCS:.cpp=.$(OBJ))
|
|
|
|
OBJS += $(MODULE_OBJS)
|
|
$(MODULE_SRCDIR)/%.$(OBJ): $(MODULE_SRCDIR)/%.cpp
|
|
$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(MODULE_CFLAGS) $(MODULE_INCLUDES) -c $(CXX_O) $<
|
|
|