Browse Source

Use RACK_DIR in Makefile

tags/v0.6.0
Andrew Belt 7 years ago
parent
commit
e0b3fbd985
2 changed files with 3 additions and 5 deletions
  1. +2
    -2
      Makefile
  2. +1
    -3
      src/AudibleInstruments.cpp

+ 2
- 2
Makefile View File

@@ -50,5 +50,5 @@ SOURCES += eurorack/frames/poly_lfo.cc

DISTRIBUTABLES += $(wildcard LICENSE*) res

include ../../plugin.mk
RACK_DIR ?= ../..
include $(RACK_DIR)/plugin.mk

+ 1
- 3
src/AudibleInstruments.cpp View File

@@ -5,10 +5,8 @@ Plugin *plugin;

void init(rack::Plugin *p) {
plugin = p;
p->slug = "AudibleInstruments";
#ifdef VERSION
p->slug = TOSTRING(SLUG);
p->version = TOSTRING(VERSION);
#endif

p->addModel(createModel<BraidsWidget>("Audible Instruments", "Braids", "Macro Oscillator", OSCILLATOR_TAG, WAVESHAPER_TAG));
p->addModel(createModel<ElementsWidget>("Audible Instruments", "Elements", "Modal Synthesizer", PHYSICAL_MODELING_TAG));


Loading…
Cancel
Save