diff --git a/src/Makefile b/src/Makefile index 02d97d4a7..85f0bbd95 100644 --- a/src/Makefile +++ b/src/Makefile @@ -205,6 +205,10 @@ XCURVES = YES # Values = YES, NO GVARS = NO +# Enable another 3 positions switch to replace a pot +# Values = NO, POT1, POT2, POT3, +3POS = NO + #------- END BUILD OPTIONS --------------------------- # Define programs and commands. @@ -714,6 +718,16 @@ ifeq ($(IRPROTOS), YES) CPPDEFS += -DIRPROTOS endif +ifeq ($(3POS), POT1) + CPPDEFS += -DP13POS +endif +ifeq ($(3POS), POT2) + CPPDEFS += -DP23POS +endif +ifeq ($(3POS), POT3) + CPPDEFS += -DP33POS +endif + #---------------- Compiler Options C++ ---------------- # -g*: generate debugging information # -O*: optimization level