Don't build an unused libmodule.a file

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.
This commit is contained in:
Martin Storsjö 2014-06-25 09:07:51 +03:00
parent 5e9492cb6e
commit 0f1f158d8b
2 changed files with 1 additions and 7 deletions

View File

@ -11,5 +11,5 @@ python build/mktargets.py --directory test/encoder --prefix encoder_unittest
python build/mktargets.py --directory test/decoder --prefix decoder_unittest
python build/mktargets.py --directory test/processing --prefix processing_unittest
python build/mktargets.py --directory test/api --prefix api_test
python build/mktargets.py --directory module --library module
python build/mktargets.py --directory module --prefix module
python build/mktargets.py --directory gtest --library gtest --out build/gtest-targets.mk --cpp-suffix .cc --include gtest-all.cc

View File

@ -8,9 +8,3 @@ OBJS += $(MODULE_OBJS)
$(MODULE_SRCDIR)/%.$(OBJ): $(MODULE_SRCDIR)/%.cpp
$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(MODULE_CFLAGS) $(MODULE_INCLUDES) -c $(CXX_O) $<
$(LIBPREFIX)module.$(LIBSUFFIX): $(MODULE_OBJS)
$(QUIET)rm -f $@
$(QUIET_AR)$(AR) $(AR_OPTS) $+
plugin: $(LIBPREFIX)module.$(LIBSUFFIX)
LIBRARIES += $(LIBPREFIX)module.$(LIBSUFFIX)