From 1da0ad39268c971482ddfc586dc1b62c95ae09b1 Mon Sep 17 00:00:00 2001 From: "romolo.manfredini@gmail.com" Date: Fri, 13 Apr 2012 20:17:20 +0000 Subject: [PATCH] Fix Makefile for haptic --- src/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Makefile b/src/Makefile index 7e7459f44..6970be166 100644 --- a/src/Makefile +++ b/src/Makefile @@ -293,6 +293,7 @@ ifeq ($(PCB), V4) EEPROMSRC = eeprom_avr.cpp PULSESSRC = pulses_avr.cpp CPPSRC += audio.cpp + CPPSRC += haptic.cpp CPPSRC += gruvin9x/gtime.cpp CPPSRC += gruvin9x/rtc.cpp CPPSRC += gruvin9x/ff.cpp @@ -334,6 +335,12 @@ ifeq ($(PCB), STD) else CPPSRC += beeper.cpp endif + + ifeq ($(HAPTIC), YES) + CPPDEFS += -DHAPTIC + CPPSRC += haptic.cpp + endif + endif ### Global Build-Option Directives ###