Cross-Platform build scripts for audio plugins
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.

25 lines
1.3KB

  1. --- abgate-1.1.7.orig/Makefile
  2. +++ abgate-1.1.7/Makefile
  3. @@ -4,6 +4,8 @@ BUNDLE = abGate.lv2
  4. PREFIX = /usr
  5. INSTALL_DIR = $(DESTDIR)$(PREFIX)/lib/lv2
  6. +CXX ?= g++
  7. +
  8. $(BUNDLE): manifest.ttl gate.ttl gate.so
  9. rm -rf $(BUNDLE)
  10. mkdir $(BUNDLE)
  11. @@ -13,10 +15,10 @@ abGateQt/libabGateQt.so:
  12. cd abGateQt; qmake-qt4; make
  13. gate.so: gate.cpp
  14. - g++ $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
  15. + $(CXX) $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
  16. gate_gui.so: gate_gui.cpp main_window.cpp main_window.h knob.cpp knob.h toggle.cpp toggle.h preset_widget.cpp preset_widget.h presets.cpp presets.h preset.cpp preset.h gate_const.h ui.h plugin_configuration.h
  17. - g++ $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
  18. + $(CXX) $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
  19. install: $(BUNDLE)
  20. mkdir -p $(INSTALL_DIR)