comparison examples/Makefile @ 1:ad9aa1881a70

* Add most basic load-library-and-list-plugins host
author cannam
date Fri, 31 Mar 2006 15:00:29 +0000
parents 6479539d1b32
children 631468924a38
comparison
equal deleted inserted replaced
0:6479539d1b32 1:ad9aa1881a70
7 7
8 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH) 8 CXXFLAGS := $(CXXFLAGS) -O2 -Wall -I$(SDKPATH) -I$(APIPATH)
9 9
10 LDFLAGS := -shared -Wl,-Bsymbolic 10 LDFLAGS := -shared -Wl,-Bsymbolic
11 11
12 APIFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp 12 SDKFILES := $(SDKPATH)/PluginAdapter.cpp $(SDKPATH)/RealTime.cpp
13 13
14 plugins.so: $(OBJECTS) 14 plugins.so: $(OBJECTS)
15 $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(APIFILES) $(OBJECTS) 15 $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(SDKFILES) $(OBJECTS)
16 16
17 all: $(TARGET) 17 all: $(TARGET)
18 18
19 clean: 19 clean:
20 rm -f $(OBJECTS) 20 rm -f $(OBJECTS)
21 21
22 distclean: clean 22 distclean: clean
23 rm -f *~ *.bak $(TARGET) 23 rm -f *~ *.bak $(TARGET)
24 24
25 ZeroCrossing.o: ZeroCrossing.cpp ../vamp/vamp.h ../sdk/PluginAdapter.h ../sdk/PluginAdapter.cpp ../sdk/RealTime.h ../sdk/RealTime.cpp ../sdk/Plugin.h ../sdk/PluginBase.h
26 SpectralCentroid.o: SpectralCentroid.cpp ../vamp/vamp.h ../sdk/PluginAdapter.h ../sdk/PluginAdapter.cpp ../sdk/RealTime.h ../sdk/RealTime.cpp ../sdk/Plugin.h ../sdk/PluginBase.h