Mercurial > hg > qm-vamp-plugins
changeset 160:9cc1f0be41dc
Add qm-dsp as subrepo
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 04 Aug 2014 16:25:23 +0100 |
parents | 6462f0981922 |
children | 6600e2d1cc50 |
files | .hgsub .hgsubstate build/general/Makefile.inc build/linux/Makefile.linux32 build/linux/Makefile.linux64 build/osx/Makefile.osx |
diffstat | 6 files changed, 21 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgsub Mon Aug 04 16:25:23 2014 +0100 @@ -0,0 +1,1 @@ +qm-dsp = https://code.soundsoftware.ac.uk/hg/qm-dsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgsubstate Mon Aug 04 16:25:23 2014 +0100 @@ -0,0 +1,1 @@ +4ad149e3637fcb17bd868e07b397d9c91cd0299d qm-dsp
--- a/build/general/Makefile.inc Mon Aug 04 16:02:26 2014 +0100 +++ b/build/general/Makefile.inc Mon Aug 04 16:25:23 2014 +0100 @@ -4,9 +4,9 @@ CXX ?= g++ CC ?= gcc -CFLAGS := $(CFLAGS) -I. -I../qm-dsp -CXXFLAGS := $(CXXFLAGS) -I. -I../qm-dsp -LDFLAGS := -L../qm-dsp $(LDFLAGS) +CFLAGS := $(CFLAGS) -I. -Iqm-dsp +CXXFLAGS := $(CXXFLAGS) -I. -Iqm-dsp +LDFLAGS := -Lqm-dsp $(LDFLAGS) HEADERS := plugins/AdaptiveSpectrogram.h \ plugins/BarBeatTrack.h \ @@ -41,11 +41,20 @@ OBJECTS := $(SOURCES:.cpp=.o) OBJECTS := $(OBJECTS:.c=.o) +all: qm-dsp $(PLUGIN) + +MF := $(wildcard build/*/Makefile$(MAKEFILE_EXT)) + +.PHONY: qm-dsp +qm-dsp: + $(MAKE) -C $@ -f $(MF) + $(PLUGIN): $(OBJECTS) $(CXX) -o $@ $^ $(LDFLAGS) clean: - rm $(OBJECTS) + $(MAKE) -C qm-dsp -f $(MF) clean + rm -f $(OBJECTS) distclean: clean rm $(PLUGIN)
--- a/build/linux/Makefile.linux32 Mon Aug 04 16:02:26 2014 +0100 +++ b/build/linux/Makefile.linux32 Mon Aug 04 16:25:23 2014 +0100 @@ -8,5 +8,7 @@ PLUGIN_EXT := .so +MAKEFILE_EXT := .linux32 + include build/general/Makefile.inc