2012-02-06 22:54:18 +01:00
|
|
|
BUNDLE = lv2pftci-drmr.lv2
|
2012-02-07 12:42:51 +01:00
|
|
|
INSTALL_DIR = /usr/local/lib/lv2
|
2012-02-06 22:54:18 +01:00
|
|
|
CC=gcc
|
|
|
|
|
|
|
|
$(BUNDLE): manifest.ttl drmr.ttl drmr.so
|
|
|
|
rm -rf $(BUNDLE)
|
|
|
|
mkdir $(BUNDLE)
|
|
|
|
cp manifest.ttl drmr.ttl drmr.so $(BUNDLE)
|
|
|
|
|
|
|
|
drmr.so: drmr.c drmr_hydrogen.c
|
2012-02-07 12:00:07 +01:00
|
|
|
$(CC) -g -shared -fPIC -DPIC drmr.c drmr_hydrogen.c `pkg-config --cflags --libs lv2-plugin sndfile` -lexpat -lm -o drmr.so
|
2012-02-06 22:54:18 +01:00
|
|
|
|
|
|
|
install: $(BUNDLE)
|
|
|
|
mkdir -p $(INSTALL_DIR)
|
|
|
|
rm -rf $(INSTALL_DIR)/$(BUNDLE)
|
|
|
|
cp -R $(BUNDLE) $(INSTALL_DIR)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf $(BUNDLE) drmr.so
|