HAPTIC is now a compile option

This commit is contained in:
bsongis
2012-01-27 19:22:28 +00:00
parent e6d8648074
commit 7d511b1e13
3 changed files with 101 additions and 68 deletions
+8 -1
View File
@@ -64,6 +64,10 @@ endif
# Values = YES, NO
AUDIO = YES
# HAPTIC Mods
# Values = YES, NO
HAPTIC = NO
# SPLASH on START
SPLASH = YES
@@ -227,7 +231,10 @@ endif
ifeq ($(AUDIO), YES)
CPPDEFS += -DAUDIO
CPPSRC += audio.cpp
CPPSRC += audio.cpp
ifeq ($(HAPTIC), YES)
CPPDEFS += -DHAPTIC
endif
else
CPPSRC += beeper.cpp
endif