summaryrefslogtreecommitdiff
path: root/users/snowe/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/snowe/rules.mk')
-rw-r--r--users/snowe/rules.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/users/snowe/rules.mk b/users/snowe/rules.mk
new file mode 100644
index 0000000000..a6e152c1cf
--- /dev/null
+++ b/users/snowe/rules.mk
@@ -0,0 +1,27 @@
+
+
+ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
+ SRC += oled_setup.c
+
+ ifdef OCEAN_DREAM_ENABLE
+ ifeq ($(strip $(OCEAN_DREAM_ENABLE)), yes)
+ SRC += ocean_dream.c
+ OPT_DEFS += -DOCEAN_DREAM_ENABLE
+ endif
+ endif
+ ifndef OCEAN_DREAM_ENABLE
+ SRC += ocean_dream.c
+ OPT_DEFS += -DOCEAN_DREAM_ENABLE
+ endif
+
+ ifdef LUNA_ENABLE
+ ifeq ($(strip $(LUNA_ENABLE)), yes)
+ SRC += luna.c
+ OPT_DEFS += -DLUNA_ENABLE
+ endif
+ endif
+ ifndef LUNA_ENABLE
+ SRC += luna.c
+ OPT_DEFS += -DLUNA_ENABLE
+ endif
+endif