diff --git a/src/Makefile b/src/Makefile index f699f5f..a9d261d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,7 +5,7 @@ TARGET=dexed.so OBJ=fm_core.o env.o lfo.o dx7note.o sin.o pitchenv.o fm_op_kernel.o freqlut.o exp2.o EngineMkI.o EngineOpl.o PluginFx.o trace.o CFLAGS_LVTK=$(shell pkg-config --cflags lvtk-plugin-2) CFLAGS=-fPIC -DPIC -std=c++11 -I. $(CFLAGS_LVTK) -DLVTK_DEBUG=false -LDFLAGS_LVTK=$(shell pkg-config --ldflags --libs lvtk-plugin-2) +LDFLAGS_LVTK=$(shell pkg-config --libs lvtk-plugin-2) LDFLAGS=$(LDFLAGS_LVTK) #DEBUG=1 #FILETRACE=1 diff --git a/src/dexed.mk b/src/dexed.mk index 0561d6c..aacc6c6 100644 --- a/src/dexed.mk +++ b/src/dexed.mk @@ -5,12 +5,13 @@ ###################################### DEXED_DEPENDENCIES = lvtk -DEXED_VERSION = b579f7b8c94b85cbabcd3cb2e532a7908720a218 +DEXED_VERSION = b8182c639888872d66daf0255cc988ed37b21818 DEXED_BUNDLES = dexed.lv2 DEXED_SITE = $(call github,dcoredump,dexed,$(DEXED_VERSION)) +DEXED_TARGET_MAKE = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) MOD=1 define DEXED_BUILD_CMDS - (cd $(@D)/src && $(TARGET_MAKE_ENV) make MOD=1 -j $(PARALLEL_JOBS)) + (cd $(@D)/src && $(DEXED_TARGET_MAKE) -j $(PARALLEL_JOBS)) endef define DEXED_INSTALL_TARGET_CMDS