mirror of
https://github.com/joeycastillo/second-movement.git
synced 2026-02-05 00:45:26 +00:00
implement FORCE_DISPLAY_TYPE flag
This commit is contained in:
9
Makefile
9
Makefile
@ -25,6 +25,15 @@ ifeq ($(SENSOR), TEMPERATURE)
|
||||
DEFINES += -DTEMPERATURE_BOARD_INSTALLED
|
||||
endif
|
||||
|
||||
ifdef FORCE_DISPLAY_TYPE
|
||||
ifeq ($(FORCE_DISPLAY_TYPE), CUSTOM)
|
||||
DEFINES += -DFORCE_CUSTOM_LCD_TYPE
|
||||
endif
|
||||
ifeq ($(FORCE_DISPLAY_TYPE), CLASSIC)
|
||||
DEFINES += -DFORCE_CLASSIC_LCD_TYPE
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef EMSCRIPTEN
|
||||
all: $(BUILD)/$(BIN).elf $(BUILD)/$(BIN).html
|
||||
$(BUILD)/$(BIN).html: $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user