c@35: c@35: DEFINES := -DUSE_PTHREADS c@35: c@35: CFLAGS := -I../.. $(CFLAGS) $(DEFINES) c@35: c@35: #CXXFLAGS := -I../.. -Wall -fPIC -g $(CXXFLAGS) $(DEFINES) c@35: CXXFLAGS := -I../.. -Wall -fPIC -O3 -ffast-math -ftree-vectorize $(CXXFLAGS) $(DEFINES) c@35: c@35: LDFLAGS := $(LDFLAGS) c@35: c@35: #VG := valgrind c@35: c@35: LIBS := ../../qm-dsp/libqm-dsp.a ../../vamp-plugin-sdk/libvamp-sdk.a -lpthread c@35: c@35: SOURCES := CQVamp.cpp libmain.cpp c@35: c@35: OBJECTS := $(SOURCES:.cpp=.o) c@35: OBJECTS := $(OBJECTS:.c=.o) c@35: c@35: EXTRA_OBJECTS := ../cpp-qm-dsp/ConstantQ.o ../cpp-qm-dsp/CQKernel.o c@35: c@35: PLUGIN_EXT := so c@35: PLUGIN = cqvamp.$(PLUGIN_EXT) c@35: c@35: all: $(PLUGIN) c@35: c@35: $(PLUGIN): $(OBJECTS) c@35: $(CXX) -shared -o $@ $^ $(EXTRA_OBJECTS) $(LDFLAGS) $(LIBS) c@35: c@35: clean: c@35: rm -f *.o c@35: c@35: depend: c@35: makedepend -Y $(SOURCES) c@35: c@35: # DO NOT DELETE c@35: c@35: CQVamp.o: CQVamp.h ../cpp-qm-dsp/ConstantQ.h ../cpp-qm-dsp/CQKernel.h c@35: libmain.o: CQVamp.h