view examples/Makefile @ 0:6479539d1b32

* Importing first cut of Sonic Visualiser's Vamp plugin format SDK
author cannam
date Fri, 31 Mar 2006 14:21:51 +0000
parents
children ad9aa1881a70
line wrap: on
line source

TARGET	:= plugins.so
OBJECTS	:= ZeroCrossing.o SpectralCentroid.o plugins.o

SDKPATH := ../sdk
APIPATH := ../vamp

CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH)

LDFLAGS := -shared -Wl,-Bsymbolic

APIFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp

plugins.so:	$(OBJECTS)
	$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(APIFILES) $(OBJECTS)

all:	$(TARGET)

clean:
	rm -f $(OBJECTS)

distclean:	clean
	rm -f *~ *.bak $(TARGET)