diff options
| author | Fred Sundvik <fsundvik@gmail.com> | 2016-04-24 17:44:11 +0300 |
|---|---|---|
| committer | Fred Sundvik <fsundvik@gmail.com> | 2016-04-24 17:44:11 +0300 |
| commit | 6313cfd5597ffce0c70a472aa87ed68b6daa4419 (patch) | |
| tree | 9411952c7f9cad138735fce92574a883047a3538 /visualizer.mk | |
| parent | 74baa4895c8efd409eb10eaf1e6cfc0e2677b45c (diff) | |
| download | qmk_firmware-6313cfd5597ffce0c70a472aa87ed68b6daa4419.tar.gz qmk_firmware-6313cfd5597ffce0c70a472aa87ed68b6daa4419.zip | |
Fix some makefile issues, and symbol issues
Diffstat (limited to 'visualizer.mk')
| -rw-r--r-- | visualizer.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/visualizer.mk b/visualizer.mk index 96ca468e8..5cc199cf4 100644 --- a/visualizer.mk +++ b/visualizer.mk | |||
| @@ -21,13 +21,13 @@ | |||
| 21 | # SOFTWARE. | 21 | # SOFTWARE. |
| 22 | 22 | ||
| 23 | GFXLIB = $(VISUALIZER_DIR)/ugfx | 23 | GFXLIB = $(VISUALIZER_DIR)/ugfx |
| 24 | SRC += $(GFXSRC) $(VISUALIZER_DIR)/visualizer.c | 24 | SRC += $(VISUALIZER_DIR)/visualizer.c |
| 25 | UINCDIR += $(GFXINC) $(VISUALIZER_DIR) | 25 | UINCDIR += $(GFXINC) $(VISUALIZER_DIR) |
| 26 | 26 | ||
| 27 | ifdef LCD_ENABLE | 27 | ifdef LCD_ENABLE |
| 28 | include $(GFXLIB)/gfx.mk | ||
| 29 | UDEFS += -DLCD_ENABLE | 28 | UDEFS += -DLCD_ENABLE |
| 30 | ULIBS += -lm | 29 | ULIBS += -lm |
| 30 | USE_UGFX = yes | ||
| 31 | endif | 31 | endif |
| 32 | 32 | ||
| 33 | ifdef LCD_BACKLIGHT_ENABLE | 33 | ifdef LCD_BACKLIGHT_ENABLE |
| @@ -39,6 +39,12 @@ endif | |||
| 39 | ifdef LED_ENABLE | 39 | ifdef LED_ENABLE |
| 40 | SRC += $(VISUALIZER_DIR)/led_test.c | 40 | SRC += $(VISUALIZER_DIR)/led_test.c |
| 41 | UDEFS += -DLED_ENABLE | 41 | UDEFS += -DLED_ENABLE |
| 42 | USE_UGFX = yes | ||
| 43 | endif | ||
| 44 | |||
| 45 | ifdef USE_UGFX | ||
| 46 | include $(GFXLIB)/gfx.mk | ||
| 47 | SRC += $(GFXSRC) | ||
| 42 | endif | 48 | endif |
| 43 | 49 | ||
| 44 | ifndef VISUALIZER_USER | 50 | ifndef VISUALIZER_USER |
