1#!/usr/bin/make -f 2# Makefile for DISTRHO Plugins # 3# ---------------------------- # 4# Created by falkTX, Christopher Arndt, and Patrick Desaulniers 5# 6 7# -------------------------------------------------------------- 8# Project name, used for binaries 9 10NAME = d_ImguiSimpleGain 11 12# -------------------------------------------------------------- 13# Files to build 14 15FILES_DSP = \ 16 PluginSimpleGain.cpp 17 18FILES_UI = \ 19 UISimpleGain.cpp \ 20 ImGuiUI.cpp \ 21 ImGuiSrc.cpp 22 23# -------------------------------------------------------------- 24# Do some magic 25 26include ../../Makefile.plugins.mk 27 28BUILD_CXX_FLAGS += -I../../../imgui -I../../../imgui/backends 29BUILD_CXX_FLAGS += $(shell $(PKG_CONFIG) glew --cflags) 30LINK_FLAGS += $(shell $(PKG_CONFIG) glew --libs) 31 32# -------------------------------------------------------------- 33# Enable all selected plugin types 34 35ifeq ($(HAVE_OPENGL),true) 36 37ifeq ($(HAVE_JACK),true) 38TARGETS += jack 39endif # HAVE_JACK 40 41ifneq ($(MACOS_OR_WINDOWS),true) 42ifeq ($(HAVE_LIBLO),true) 43TARGETS += dssi 44endif # HAVE_LIBLO 45endif # MACOS_OR_WINDOWS 46 47TARGETS += lv2_sep 48TARGETS += vst 49 50endif # HAVE_OPENGL 51 52all: $(TARGETS) 53 54# -------------------------------------------------------------- 55