1#!/usr/bin/make -f 2# Makefile for zam-plugins # 3# ------------------------ # 4# Created by falkTX 5# 6 7# -------------------------------------------------------------- 8# Project name, used for binaries 9 10NAME = ZamSFZ 11 12# -------------------------------------------------------------- 13# Files to build 14 15FILES_DSP = \ 16 libsfz/sfz.cpp \ 17 Sfz.cpp \ 18 ZamSFZPlugin.cpp 19 20FILES_UI = \ 21 ZamSFZArtwork.cpp \ 22 ZamSFZUI.cpp 23 24# -------------------------------------------------------------- 25# Do some magic 26 27include ../../dpf/Makefile.plugins.mk 28 29# -------------------------------------------------------------- 30# Extra flags 31 32BASE_FLAGS += $(shell pkg-config --cflags sndfile rubberband samplerate) 33LINK_FLAGS += $(shell pkg-config --libs sndfile rubberband samplerate) 34 35# -------------------------------------------------------------- 36# Enable all possible plugin types 37 38ifeq ($(HAVE_JACK),true) 39TARGETS += jack 40endif 41 42ifeq ($(HAVE_DGL),true) 43TARGETS += lv2_sep 44else 45TARGETS += lv2_dsp 46endif 47 48TARGETS += vst 49 50all: $(TARGETS) 51 52# -------------------------------------------------------------- 53