diff options
Diffstat (limited to 'users/snowe/rules.mk')
| -rw-r--r-- | users/snowe/rules.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/users/snowe/rules.mk b/users/snowe/rules.mk new file mode 100644 index 000000000..a6e152c1c --- /dev/null +++ b/users/snowe/rules.mk | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | |||
| 2 | |||
| 3 | ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes) | ||
| 4 | SRC += oled_setup.c | ||
| 5 | |||
| 6 | ifdef OCEAN_DREAM_ENABLE | ||
| 7 | ifeq ($(strip $(OCEAN_DREAM_ENABLE)), yes) | ||
| 8 | SRC += ocean_dream.c | ||
| 9 | OPT_DEFS += -DOCEAN_DREAM_ENABLE | ||
| 10 | endif | ||
| 11 | endif | ||
| 12 | ifndef OCEAN_DREAM_ENABLE | ||
| 13 | SRC += ocean_dream.c | ||
| 14 | OPT_DEFS += -DOCEAN_DREAM_ENABLE | ||
| 15 | endif | ||
| 16 | |||
| 17 | ifdef LUNA_ENABLE | ||
| 18 | ifeq ($(strip $(LUNA_ENABLE)), yes) | ||
| 19 | SRC += luna.c | ||
| 20 | OPT_DEFS += -DLUNA_ENABLE | ||
| 21 | endif | ||
| 22 | endif | ||
| 23 | ifndef LUNA_ENABLE | ||
| 24 | SRC += luna.c | ||
| 25 | OPT_DEFS += -DLUNA_ENABLE | ||
| 26 | endif | ||
| 27 | endif | ||
