# # Makefile for VCV rack lib + GCC # # include dep/yac/install_linux.mk TARGET_BASENAME=Rack EXTRAFLAGS= -DVERSION=0.6.1 -DARCH_LIN -D_USE_MATH_DEFINES -DRACK_HOST -DUSE_VST2 -Iinclude/ -Idep/include -Idep/ ifneq ($(RACK_STATIC_MODULES),y) EXTRAFLAGS+= -DSKIP_STATIC_MODULES endif # for osdialog: EXTRAFLAGS+= `pkg-config gtk+-2.0 --cflags` EXTRALIBS+= # need to link these later on: #jansson.a PLAF_OBJ= include make.objects # compile but link this one in a different order than the other objects # (the GNU linker is very unforgiving in this regard) BIN_RULES+= src/plugin_static.o ALL_OBJ=$(LIB_OBJ) $(LIB_OBJ_LINUX) .PHONY: clean_plugin_static clean_plugin_static: rm -f src/plugin_static.o CLEAN_RULES+= clean_plugin_static include dep/yac/staticlib_linux.mk