Mercurial > hg > beatroot-vamp
changeset 32:36638ec0b379
Platform-specific make files
| author | Chris Cannam |
|---|---|
| date | Fri, 06 Dec 2013 14:45:40 +0000 |
| parents | b9c2f444cdaa |
| children | 9d898889db1e |
| files | Makefile Makefile.inc Makefile.linux Makefile.osx vamp-plugin.list |
| diffstat | 5 files changed, 59 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Dec 06 14:38:17 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,31 +0,0 @@ - -#CXXFLAGS := -fPIC -g -DDEBUG_BEATROOT -CXXFLAGS := -fPIC -O3 -Wall - -OBJECTS := BeatRootProcessor.o BeatRootVampPlugin.o Peaks.o Agent.o AgentList.o Induction.o BeatTracker.o - -HEADERS := Agent.h AgentList.h BeatRootProcessor.h BeatRootVampPlugin.h BeatTracker.h Event.h Induction.h Peaks.h - -beatroot-vamp.so: $(OBJECTS) $(HEADERS) - g++ -g -shared $(OBJECTS) -o $@ -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -lpthread -Wl,--version-script=vamp-plugin.map - -clean: - rm *.o - -# DO NOT DELETE - -Agent.o: Agent.h Event.h BeatTracker.h AgentList.h Induction.h -AgentList.o: AgentList.h Agent.h Event.h -BeatRootProcessor.o: BeatRootProcessor.h Peaks.h Event.h BeatTracker.h -BeatRootProcessor.o: Agent.h AgentList.h Induction.h -BeatRootVampPlugin.o: BeatRootVampPlugin.h BeatRootProcessor.h Peaks.h -BeatRootVampPlugin.o: Event.h BeatTracker.h Agent.h AgentList.h Induction.h -BeatTracker.o: BeatTracker.h Event.h Agent.h AgentList.h Induction.h -Induction.o: Induction.h Agent.h Event.h AgentList.h -Peaks.o: Peaks.h -Agent.o: Event.h -AgentList.o: Agent.h Event.h -BeatRootProcessor.o: Peaks.h Event.h BeatTracker.h Agent.h AgentList.h -BeatRootProcessor.o: Induction.h -BeatTracker.o: Event.h Agent.h AgentList.h Induction.h -Induction.o: Agent.h Event.h AgentList.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.inc Fri Dec 06 14:45:40 2013 +0000 @@ -0,0 +1,40 @@ + +PLUGIN_EXT ?= .so + +CXX ?= g++ +CC ?= gcc + +CFLAGS := $(CFLAGS) +CXXFLAGS := -I. $(CXXFLAGS) + +PLUGIN := beatroot-vamp(PLUGIN_EXT) + +PLUGIN_LDFLAGS := $(LDFLAGS) $(PLUGIN_LDFLAGS) + +OBJECTS := BeatRootProcessor.o BeatRootVampPlugin.o Peaks.o Agent.o AgentList.o Induction.o BeatTracker.o + +HEADERS := Agent.h AgentList.h BeatRootProcessor.h BeatRootVampPlugin.h BeatTracker.h Event.h Induction.h Peaks.h + +$(PLUGIN): $(OBJECTS) $(HEADERS) + $(CXX) -o $@ $^ $(PLUGIN_LDFLAGS) + +clean: + rm *.o + +# DO NOT DELETE + +Agent.o: Agent.h Event.h BeatTracker.h AgentList.h Induction.h +AgentList.o: AgentList.h Agent.h Event.h +BeatRootProcessor.o: BeatRootProcessor.h Peaks.h Event.h BeatTracker.h +BeatRootProcessor.o: Agent.h AgentList.h Induction.h +BeatRootVampPlugin.o: BeatRootVampPlugin.h BeatRootProcessor.h Peaks.h +BeatRootVampPlugin.o: Event.h BeatTracker.h Agent.h AgentList.h Induction.h +BeatTracker.o: BeatTracker.h Event.h Agent.h AgentList.h Induction.h +Induction.o: Induction.h Agent.h Event.h AgentList.h +Peaks.o: Peaks.h +Agent.o: Event.h +AgentList.o: Agent.h Event.h +BeatRootProcessor.o: Peaks.h Event.h BeatTracker.h Agent.h AgentList.h +BeatRootProcessor.o: Induction.h +BeatTracker.o: Event.h Agent.h AgentList.h Induction.h +Induction.o: Agent.h Event.h AgentList.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.linux Fri Dec 06 14:45:40 2013 +0000 @@ -0,0 +1,9 @@ + +CFLAGS := -fPIC -O3 -Wall +CXXFLAGS := $(CFLAGS) + +PLUGIN_LDFLAGS := -shared -Wl,-Bstatic -L../vamp-plugin-sdk -lvamp-sdk -Wl,-Bdynamic -lpthread -Wl,--version-script=vamp-plugin.map + +PLUGIN_EXT := .so + +include Makefile.inc
