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.

35 lines
631B

  1. SLUG = DHE-Modules
  2. VERSION = 0.6.0
  3. RACK_DIR ?= ../..
  4. FLAGS += -I./src
  5. CFLAGS +=
  6. CXXFLAGS +=
  7. LDFLAGS +=
  8. SOURCES = $(wildcard src/*/*.cpp)
  9. DISTRIBUTABLES += $(wildcard LICENSE*) res
  10. include $(RACK_DIR)/plugin.mk
  11. MODULE_OBJECTS = $(patsubst %, build/%.o, $(MODULE_SOURCES))
  12. TEST_SOURCES = $(wildcard test/runner/*.cpp test/*.cpp)
  13. TEST_OBJECTS = $(patsubst %, build/%.o, $(TEST_SOURCES))
  14. $(TEST_OBJECTS): FLAGS+= -I./test
  15. build/test/runner/main: $(TEST_OBJECTS)
  16. $(CXX) -o $@ $^
  17. test: build/test/runner/main
  18. $<
  19. run: dist
  20. cp -R dist/DHE-Modules $(RACK_DIR)/plugins
  21. make -C $(RACK_DIR) run
  22. gui:
  23. cd gui && rake clobber all