DPF Plugin examples
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.

62 lines
1.3KB

  1. #!/usr/bin/make -f
  2. # Makefile for DISTRHO Plugins #
  3. # ---------------------------- #
  4. # Created by falkTX
  5. #
  6. # --------------------------------------------------------------
  7. # Project name, used for binaries
  8. NAME = Super_Saw
  9. # --------------------------------------------------------------
  10. # Files to build
  11. OBJS_DSP = \
  12. SuperSaw.cpp.o
  13. #OBJS_UI = \
  14. # InfoExampleUI.cpp.o
  15. # --------------------------------------------------------------
  16. # Do some magic
  17. include ../Makefile.mk
  18. # --------------------------------------------------------------
  19. # Enable all possible plugin types
  20. ifeq ($(HAVE_DGL),true)
  21. ifeq ($(HAVE_JACK),true)
  22. TARGETS += jack
  23. endif
  24. endif
  25. ifeq ($(HAVE_DGL),true)
  26. TARGETS += lv2_sep
  27. else
  28. TARGETS += lv2_dsp
  29. endif
  30. TARGETS += vst
  31. ADA:
  32. gnat make -fPIC blep
  33. gnat bind -n blep
  34. gnat make -fPIC super_saw
  35. gnat bind -n super_saw
  36. gnat make -fPIC b~super_saw
  37. gnat bind -n b~super_saw
  38. gnat make -fPIC polyphony
  39. gnat bind -n polyphony
  40. gnat make -fPIC b~polyphony
  41. gnat bind -n b~polyphony
  42. #BASE_FLAGS += super_saw.o b~super_saw.o -lgnat -lgnarl -lgmem
  43. BASE_FLAGS += super_saw.o polyphony.o b~polyphony.o blep.o -lgnat -lgnarl -lgmem -ggdb
  44. BASE_FLAGS += -L/usr/lib/gcc/x86_64-redhat-linux/7/adalib
  45. all: ADA $(TARGETS)
  46. # --------------------------------------------------------------