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.

41 lines
784B

  1. #
  2. # Makefile for VCV rack lib + GCC
  3. #
  4. #
  5. include dep/yac/install_linux.mk
  6. TARGET_BASENAME=Rack
  7. EXTRAFLAGS= -DVERSION=0.6.1 -DARCH_LIN -D_USE_MATH_DEFINES -DRACK_HOST -DUSE_VST2 -Iinclude/ -Idep/include -Idep/
  8. ifneq ($(RACK_STATIC_MODULES),y)
  9. EXTRAFLAGS+= -DSKIP_STATIC_MODULES
  10. endif
  11. # for osdialog:
  12. EXTRAFLAGS+= `pkg-config gtk+-2.0 --cflags`
  13. EXTRALIBS+=
  14. # need to link these later on:
  15. #jansson.a
  16. PLAF_OBJ=
  17. include make.objects
  18. # compile but link this one in a different order than the other objects
  19. # (the GNU linker is very unforgiving in this regard)
  20. BIN_RULES+= src/plugin_static.o
  21. ALL_OBJ=$(LIB_OBJ) $(LIB_OBJ_LINUX)
  22. .PHONY: clean_plugin_static
  23. clean_plugin_static:
  24. rm -f src/plugin_static.o
  25. CLEAN_RULES+= clean_plugin_static
  26. include dep/yac/staticlib_linux.mk