mirror of https://github.com/dcoredump/dexed.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
468 B
24 lines
468 B
8 years ago
|
BUNDLE = lv2pftci-beep.lv2
|
||
|
INSTALL_DIR = /usr/local/lib/lv2
|
||
|
|
||
|
|
||
|
$(BUNDLE): manifest.ttl beep.ttl beep.so
|
||
|
rm -rf $(BUNDLE)
|
||
|
mkdir $(BUNDLE)
|
||
|
cp $^ $(BUNDLE)
|
||
|
|
||
|
beep.so: beep.cpp beep.peg
|
||
|
g++ -shared -fPIC -DPIC beep.cpp `pkg-config --cflags --libs lv2-plugin` -o beep.so
|
||
|
|
||
|
beep.peg: beep.ttl
|
||
|
lv2peg beep.ttl beep.peg
|
||
|
|
||
|
install: $(BUNDLE)
|
||
|
mkdir -p $(INSTALL_DIR)
|
||
|
rm -rf $(INSTALL_DIR)/$(BUNDLE)
|
||
|
cp -R $(BUNDLE) $(INSTALL_DIR)
|
||
|
|
||
|
clean:
|
||
|
rm -rf $(BUNDLE) beep.so beep.peg
|
||
|
|