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.

40 lines
754B

  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. EXTRAFLAGS+= -march=haswell
  8. EXTRAFLAGS+= -fPIC
  9. EXTRALIBS+= -march=haswell -fPIC
  10. EXTRALIBS+= -lGL -ldl
  11. .PHONY: clean
  12. clean:
  13. rm -f $(TARGET) $(ALL_OBJ)
  14. .PHONY: all
  15. all:
  16. make -f makefile.linux clean
  17. make -f makefile.linux bin
  18. make -f makefile.linux install
  19. .PHONY: install
  20. install:
  21. ifeq ($(USER),cameron)
  22. cp $(TARGET) /home/cameron/.local/share/VST/
  23. endif
  24. ifeq ($(USER),bsp)
  25. # copy to Qtractor VST search path
  26. cp $(TARGET) /usr/local/lib/vst/
  27. endif
  28. # always copy to vst2_bin/
  29. cp $(TARGET) ../../vst2_bin/
  30. include ../../dep/yac/sharedlib_linux.mk