drmr2/Makefile

19 lines
486 B
Makefile
Raw Normal View History

BUNDLE = lv2pftci-drmr.lv2
2012-02-07 12:42:51 +01:00
INSTALL_DIR = /usr/local/lib/lv2
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:57:56 +01:00
$(CC) -shared -fPIC -DPIC drmr.c drmr_hydrogen.c `pkg-config --cflags --libs lv2-plugin sndfile` -lexpat -lm -o drmr.so
install: $(BUNDLE)
mkdir -p $(INSTALL_DIR)
rm -rf $(INSTALL_DIR)/$(BUNDLE)
cp -R $(BUNDLE) $(INSTALL_DIR)
clean:
rm -rf $(BUNDLE) drmr.so