diff --git a/other/vst2_lglw_debug_plugin/makefile.linux b/other/vst2_lglw_debug_plugin/makefile.linux index e89f01fd..527a903f 100644 --- a/other/vst2_lglw_debug_plugin/makefile.linux +++ b/other/vst2_lglw_debug_plugin/makefile.linux @@ -9,26 +9,11 @@ ALL_OBJ= \ EXTRAFLAGS+=-I"$(VST2_SDK_DIR)" -I"$(VSVR_BASE_DIR)/dep/lglw/" EXTRAFLAGS+= -march=haswell -EXTRAFLAGS+= `pkg-config gtk+-2.0 --cflags` +EXTRAFLAGS+= -fPIC -EXTRALIBS+= -march=haswell -EXTRALIBS+= `pkg-config gtk+-2.0 --libs` +EXTRALIBS+= -march=haswell -fPIC EXTRALIBS+= -lGL -ldl -#.cpp.o: -##-fPIC -# $(CPP) $(CPPFLAGS) $(OPTFLAGS_PLUGIN) -I"$(VSVR_BASE_DIR)/dep/yac/" -I"$(VST2_SDK_DIR)" -I"$(VSVR_BASE_DIR)/dep/lglw/" -shared -c "$<" -o"$@" - -#.c.o: -##-fPIC -# $(CC) $(CFLAGS) $(OPTFLAGS_PLUGIN) -I"$(VSVR_BASE_DIR)/dep/yac/" -I"$(VST2_SDK_DIR)" -I"$(VSVR_BASE_DIR)/dep/lglw/" -shared -c "$<" -o"$@" - -#.PHONY: bin -#bin: $(ALL_OBJ) -# $(CPP) -shared -o $(TARGET) -Wl,-soname,$(TARGET) $(ALL_OBJ) -ldl -lGL -L/usr/lib -lm -lpthread -#-mtls-dialect=gnu2 -# $(STRIP) $(TARGET) - .PHONY: clean clean: rm -f $(TARGET) $(ALL_OBJ) @@ -45,11 +30,9 @@ ifeq ($(USER),cameron) cp $(TARGET) /home/cameron/.local/share/VST/ endif ifeq ($(USER),bsp) - # copy to Qtractor VST search path - #cp $(TARGET) /usr/local/lib/vst/ + # copy to Qtractor VST search path + # cp $(TARGET) /usr/local/lib/vst/ cp $(TARGET) ../../vst2_bin/ endif - -# (todo) include ../../dep/yac/sharedlib_linux.mk include ../../dep/yac/sharedlib_linux.mk