Mercurial > hg > vampy
comparison Makefile @ 14:8cd6346e755f
now installs example python plugins to the correct place
author | fazekasgy |
---|---|
date | Wed, 02 Jul 2008 12:17:58 +0000 |
parents | 3af6b5990ad8 |
children | 5e5f2af04e86 |
comparison
equal
deleted
inserted
replaced
13:3983172c1db2 | 14:8cd6346e755f |
---|---|
1 | 1 |
2 CXXFLAGS := -I../vamp-plugin-sdk -O2 -Wall -I/usr/include/python2.5 | 2 CXXFLAGS := -I../vamp-plugin-sdk -O2 -Wall -I/usr/include/python2.5 |
3 | 3 |
4 vampy.dylib: PyPlugin.o PyPlugScanner.o pyvamp-main.o Mutex.o | 4 vampy.dylib: PyPlugin.o PyPlugScanner.o pyvamp-main.o Mutex.o |
5 g++ -shared $^ -o $@ -L../vamp-plugin-sdk/vamp-sdk -lvamp-sdk -dynamiclib -lpython2.5 -lpthread | 5 g++ -shared $^ -o $@ -L../vamp-plugin-sdk/vamp-sdk -lvamp-sdk -dynamiclib -lpython2.5 -lpthread |
6 | |
7 clean: | |
8 rm *.o | |
9 | |
10 | 6 |
11 # Install plugin | 7 # Install plugin |
12 # | 8 # |
13 LIBRARY_PREFIX :=/Library | 9 LIBRARY_PREFIX :=/Library |
14 INSTALL_DIR :=$(LIBRARY_PREFIX)/Audio/Plug-Ins/Vamp | 10 INSTALL_DIR :=$(LIBRARY_PREFIX)/Audio/Plug-Ins/Vamp |
18 | 14 |
19 install: | 15 install: |
20 mkdir -p $(INSTALL_DIR) | 16 mkdir -p $(INSTALL_DIR) |
21 rm -f $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT) | 17 rm -f $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT) |
22 cp $(PLUGIN_NAME)$(PLUGIN_EXT) $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT) | 18 cp $(PLUGIN_NAME)$(PLUGIN_EXT) $(INSTALL_DIR)/$(PLUGIN_NAME)$(PLUGIN_EXT) |
23 # cp $(PYEXAMPLE_DIR)/*.py $(INSTALL_DIR) | 19 cp $(PYEXAMPLE_DIR)/*.py $(INSTALL_DIR) |
24 | 20 |
25 installplug : install | 21 installplug : install |
26 cleanplug : clean | 22 cleanplug : clean |
23 | |
24 clean: | |
25 rm *.o | |
26 rm *$(PLUGIN_EXT) | |
27 |