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.

16 lines
1.1KB

  1. --- abgate-1.1.7.orig/Makefile
  2. +++ abgate-1.1.7/Makefile
  3. @@ -13,10 +13,10 @@ abGateQt/libabGateQt.so:
  4. cd abGateQt; qmake-qt4; make
  5. gate.so: gate.cpp
  6. - g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
  7. + g++ $(CXXFLAGS) $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
  8. 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
  9. - g++ $(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
  10. + 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
  11. install: $(BUNDLE)
  12. mkdir -p $(INSTALL_DIR)