forked from PAWPAW/lib_rgb
新增:随响度响应的RGB灯组
This commit is contained in:
31
examples/Makefile
Normal file
31
examples/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
# This variable should contain a space separated list of all
|
||||
# the directories containing buildable applications (usually
|
||||
# prefixed with the app_ prefix)
|
||||
BUILD_SUBDIRS = ./app_rgb_cycle_breathing_example \
|
||||
./app_hsv_cycle_example \
|
||||
./app_volume_level_example \
|
||||
./app_test_fill_gradient_with_groups \
|
||||
|
||||
# This variable should contain a space separated list of all
|
||||
# the directories containing buildable plugins (usually
|
||||
# prefixed with the plugin_ prefix)
|
||||
PLUGIN_SUBDIRS =
|
||||
|
||||
# This variable should contain a space separated list of all
|
||||
# the directories containing applications with a 'test' make target
|
||||
TEST_SUBDIRS =
|
||||
|
||||
# Provided that the above variables are set you shouldn't need to modify
|
||||
# the targets below here.
|
||||
|
||||
%.all:
|
||||
cd $* && xmake BUILD_TEST_CONFIGS=1 all
|
||||
|
||||
%.clean:
|
||||
cd $* && xmake BUILD_TEST_CONFIGS=1 clean
|
||||
|
||||
all: $(foreach x, $(BUILD_SUBDIRS), $x.all)
|
||||
plugins: $(foreach x, $(PLUGIN_SUBDIRS), $x.all)
|
||||
clean: $(foreach x, $(BUILD_SUBDIRS), $x.clean)
|
||||
clean_plugins: $(foreach x, $(PLUGIN_SUBDIRS), $x.clean)
|
||||
test: $(foreach x, $(TEST_SUBDIRS), $x.test)
|
||||
Reference in New Issue
Block a user