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
476 B
24 lines
476 B
8 years ago
|
BUNDLE = lv2pftci-beep2.lv2
|
||
|
INSTALL_DIR = /usr/local/lib/lv2
|
||
|
|
||
|
|
||
|
$(BUNDLE): manifest.ttl beep2.ttl beep2.so
|
||
|
rm -rf $(BUNDLE)
|
||
|
mkdir $(BUNDLE)
|
||
|
cp $^ $(BUNDLE)
|
||
|
|
||
|
beep2.so: beep.cpp beep.peg
|
||
|
g++ -shared -fPIC -DPIC beep.cpp `pkg-config --cflags --libs lv2-plugin` -o beep2.so
|
||
|
|
||
|
beep.peg: beep2.ttl
|
||
|
lv2peg beep2.ttl beep.peg
|
||
|
|
||
|
install: $(BUNDLE)
|
||
|
mkdir -p $(INSTALL_DIR)
|
||
|
rm -rf $(INSTALL_DIR)/$(BUNDLE)
|
||
|
cp -R $(BUNDLE) $(INSTALL_DIR)
|
||
|
|
||
|
clean:
|
||
|
rm -rf $(BUNDLE) beep2.so beep.peg
|
||
|
|