parent
87522336ef
commit
b253e13018
@ -0,0 +1,27 @@ |
||||
BUNDLE = headset.lv2
|
||||
PREFIX=/usr/local
|
||||
INSTALL_DIR = ${DESTDIR}$(PREFIX)/lib/lv2
|
||||
|
||||
$(BUNDLE): manifest.ttl headset.ttl headset.so headset_ui.so |
||||
$(RM) -r $(BUNDLE)
|
||||
mkdir $(BUNDLE)
|
||||
cp manifest.ttl headset.ttl headset.so headset_ui.so $(BUNDLE)
|
||||
|
||||
headset.so: headset.c |
||||
$(CC) -shared -fPIC -DPIC $< -o $@
|
||||
|
||||
headset_ui.so: headset_ui.c |
||||
$(CC) `pkg-config --cflags x11` -shared -fPIC -DPIC $< `pkg-config --libs x11` -Wl,-z,nodelete -o $@
|
||||
|
||||
install: $(BUNDLE) |
||||
mkdir -p $(INSTALL_DIR)
|
||||
$(RM) -r $(INSTALL_DIR)/$(BUNDLE)
|
||||
cp -R $(BUNDLE) $(INSTALL_DIR)
|
||||
|
||||
uninstall: |
||||
$(RM) -r $(INSTALL_DIR)/$(BUNDLE)
|
||||
|
||||
clean: |
||||
$(RM) -r $(BUNDLE)
|
||||
$(RM) headset_ui.so
|
||||
$(RM) headset.so
|
Loading…
Reference in new issue