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.

59 lines
1.3KB

  1. #
  2. # Makefile for VCV rack lib + GCC
  3. #
  4. #
  5. NUM_JOBS=20
  6. #NUM_JOBS=1
  7. #NUM_JOBS=$(NUM_PROCESSORS)
  8. .PHONY: bin
  9. bin: vst
  10. .PHONY: lib
  11. lib:
  12. make -f makefile_lib.linux bin -j $(NUM_JOBS)
  13. .PHONY: shared_lib
  14. shared_lib:
  15. make -f makefile_shared_lib.linux bin -j $(NUM_JOBS) && mv Rack_shared.a plugins/
  16. .PHONY: vst
  17. vst: lib
  18. rm -f src/vst2_main.o
  19. make -f makefile_vst_instr.linux bin -j $(NUM_JOBS)
  20. rm -f src/vst2_main.o
  21. make -f makefile_vst_effect.linux bin -j $(NUM_JOBS)
  22. mv veeseevstrack_instr.so vst2_bin/
  23. mv veeseevstrack_effect.so vst2_bin/
  24. @ls -l vst2_bin/veeseevstrack_instr.so
  25. @ls -l vst2_bin/veeseevstrack_effect.so
  26. .PHONY: clean
  27. clean:
  28. make -f makefile_lib.linux clean
  29. make -f makefile_shared_lib.linux clean
  30. make -f makefile_vst_instr.linux clean
  31. make -f makefile_vst_effect.linux clean
  32. # rebuild dependencies:
  33. .PHONY: dep
  34. dep:
  35. make -C dep -f makefile.linux clean
  36. make -C dep -f makefile.linux bin
  37. make -C dep -f makefile.linux install
  38. # do a complete rebuild:
  39. .PHONY: all
  40. all:
  41. make -C dep -f makefile.linux clean
  42. make -C dep -f makefile.linux bin
  43. make -C dep -f makefile.linux install
  44. make -f makefile.linux clean
  45. make -f makefile.linux shared_lib
  46. make -C plugins -f makefile.linux clean
  47. make -C plugins -f makefile.linux bin
  48. make -f makefile.linux clean
  49. make -f makefile.linux lib
  50. make -f makefile.linux bin