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.
|
- SLUG = DHE-Modules
- VERSION = 0.6.4
- RACK_DIR ?= ../..
-
- FLAGS += -I./plugin/include
- CFLAGS +=
- CXXFLAGS +=
- LDFLAGS +=
-
- SOURCES = $(wildcard plugin/src/*.cpp)
-
- DISTRIBUTABLES += LICENSE.txt svg
-
- include $(RACK_DIR)/plugin.mk
-
- # Above this line: Standard plugin build stuff
- ########################################################################
- # Below this line: Targets for Dale to build the gui and run Rack
-
- DEV_INSTALL_DIR = .dev
- DEV_PLUGIN_DIR = $(DEV_INSTALL_DIR)/plugins
-
- $(DEV_INSTALL_DIR) $(DEV_PLUGIN_DIR):
- mkdir -p $@
-
- $(DEV_PLUGIN_DIR)/Fundamental: $(DEV_PLUGIN_DIR)
- cp -r $(RACK_USER_DIR)/plugins/Fundamental $(DEV_PLUGIN_DIR)
-
- dev: dist $(DEV_PLUGIN_DIR) $(DEV_PLUGIN_DIR)/Fundamental
- cp dist/$(SLUG)-$(VERSION)-$(ARCH).zip $(DEV_PLUGIN_DIR)
-
- debug: dev
- /Applications/Rack.app/Contents/MacOS/Rack -d -g /Applications/Rack.app/Contents/Resources -l $(realpath $(DEV_INSTALL_DIR))
-
- run: dev
- /Applications/Rack.app/Contents/MacOS/Rack -g /Applications/Rack.app/Contents/Resources -l $(realpath $(DEV_INSTALL_DIR))
-
- tidy:
- find plugin/src plugin/include -name *.h -o -name *.cpp | xargs clang-format -i
-
- gui:
- cd gui && rake install
-
- clobber: clean uninstall
- cd gui && rake clobber
-
- fresh: clean all
-
- uninstall:
- rm -rf $(DEV_INSTALL_DIR)
-
- .PHONY: clean clobber fresh gui tidy uninstall
|