A simple and dumb lv2 plugin to test host state support
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.

25 lines
495B

  1. # lv2-state-test
  2. CC ?= gcc
  3. CFLAGS += -O0 -g -Wall -Wextra -std=gnu99
  4. CFLAGS += -fPIC -DPIC
  5. CFLAGS += $(shell pkg-config --cflags lv2)
  6. ifneq ($(shell pkg-config --atleast-version=1.18 lv2 && echo true),true)
  7. CFLAGS += -DDO_NOT_HAVE_LV2_STATE_FREE_PATH
  8. endif
  9. LDFLAGS += -Wl,--no-undefined
  10. LDFLAGS += $(shell pkg-config --libs lv2)
  11. TARGET = lv2-state-test.lv2/lv2-state-test.so
  12. all: $(TARGET)
  13. $(TARGET): lv2-state-test.c
  14. $(CC) $< $(CFLAGS) $(LDFLAGS) -shared -o $@
  15. clean:
  16. rm -f $(TARGET)