Skip to content

Instantly share code, notes, and snippets.

@evilactually
Last active June 1, 2020 02:15
Show Gist options
  • Save evilactually/f37ee47d1d0628fe2cfd11227e047471 to your computer and use it in GitHub Desktop.
Save evilactually/f37ee47d1d0628fe2cfd11227e047471 to your computer and use it in GitHub Desktop.
manifest.ttl:manifest.ttl.in
sed -e"s?@name@?$(CLSNAME)?g" -e"s?@uri@?$(URI_PREFIX)/$(CLSNAME)?g" -e"s?@dllext@?.so?g" > "manifest.ttl" < manifest.ttl.in
$(CLSNAME).ttl:$(CLSNAME).cpp
g++ -O3 -std=c++11 -ffast-math -ftree-vectorize '-DDLLEXT=".so"' '-DPLUGIN_URI="$(URI_PREFIX)/$(CLSNAME)"' -DFAUST_META=1 -DFAUST_MIDICC=1 -DFAUST_MTS=1 -DFAUST_UI=0 -DVOICE_CTRLS=1 $< -o $(CLSNAME)
./$(CLSNAME) > $(CLSNAME).ttl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment