Fix Makefile for haptic
This commit is contained in:
@@ -293,6 +293,7 @@ ifeq ($(PCB), V4)
|
|||||||
EEPROMSRC = eeprom_avr.cpp
|
EEPROMSRC = eeprom_avr.cpp
|
||||||
PULSESSRC = pulses_avr.cpp
|
PULSESSRC = pulses_avr.cpp
|
||||||
CPPSRC += audio.cpp
|
CPPSRC += audio.cpp
|
||||||
|
CPPSRC += haptic.cpp
|
||||||
CPPSRC += gruvin9x/gtime.cpp
|
CPPSRC += gruvin9x/gtime.cpp
|
||||||
CPPSRC += gruvin9x/rtc.cpp
|
CPPSRC += gruvin9x/rtc.cpp
|
||||||
CPPSRC += gruvin9x/ff.cpp
|
CPPSRC += gruvin9x/ff.cpp
|
||||||
@@ -334,6 +335,12 @@ ifeq ($(PCB), STD)
|
|||||||
else
|
else
|
||||||
CPPSRC += beeper.cpp
|
CPPSRC += beeper.cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(HAPTIC), YES)
|
||||||
|
CPPDEFS += -DHAPTIC
|
||||||
|
CPPSRC += haptic.cpp
|
||||||
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### Global Build-Option Directives ###
|
### Global Build-Option Directives ###
|
||||||
|
|||||||
Reference in New Issue
Block a user