Makefile
author František Kučera <franta-hg@frantovo.cz>
Fri, 15 May 2020 20:32:37 +0200
changeset 0 5b261dcb0da8
permissions -rw-r--r--
LV2: modul zesilovače, dle oficiálního příkladu, ale bez závislosti na Pythonu – stačí gcc a make
franta-hg@0
     1
all: amp.so
franta-hg@0
     2
franta-hg@0
     3
amp.so: amp.cpp
franta-hg@0
     4
	g++ -g -shared -fPIC amp.cpp -o amp.so
franta-hg@0
     5
franta-hg@0
     6
clean:
franta-hg@0
     7
	rm -f amp.so
franta-hg@0
     8
franta-hg@0
     9
info: amp.so
franta-hg@0
    10
	nm amp.so
franta-hg@0
    11
	ldd amp.so
franta-hg@0
    12
	file amp.so
franta-hg@0
    13
franta-hg@0
    14
install: amp.so
franta-hg@0
    15
	mkdir -p ~/.lv2/amp/
franta-hg@0
    16
	cp amp.so amp.ttl manifest.ttl ~/.lv2/amp/
franta-hg@0
    17
	lv2info http://lv2plug.in/plugins/eg-amp
franta-hg@0
    18
franta-hg@0
    19
uninstall:
franta-hg@0
    20
	rm -rf ~/.lv2/amp/