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.

36 lines
673B

  1. include ../../dep/yac/install_linux.mk
  2. TARGET=debug_lglw.so
  3. ALL_OBJ= \
  4. plugin.o \
  5. $(VSVR_BASE_DIR)/dep/lglw/lglw_linux.o
  6. EXTRAFLAGS+=-I"$(VST2_SDK_DIR)" -I"$(VSVR_BASE_DIR)/dep/lglw/"
  7. EXTRALIBS+= -lGL -ldl
  8. .PHONY: clean
  9. clean:
  10. rm -f $(TARGET) $(ALL_OBJ)
  11. .PHONY: all
  12. all:
  13. make -f makefile.linux clean
  14. make -f makefile.linux bin
  15. make -f makefile.linux install
  16. .PHONY: install
  17. install:
  18. ifeq ($(USER),cameron)
  19. cp $(TARGET) /home/cameron/.local/share/VST/
  20. endif
  21. ifeq ($(USER),bsp)
  22. # copy to Qtractor VST search path
  23. cp $(TARGET) /usr/local/lib/vst/
  24. endif
  25. # always copy to vst2_bin/
  26. cp $(TARGET) ../../vst2_bin/
  27. include ../../dep/yac/sharedlib_linux.mk