summaryrefslogtreecommitdiffstats
path: root/input/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'input/Makefile')
-rw-r--r--input/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/input/Makefile b/input/Makefile
index 0664ae9650..1ecf28e8bb 100644
--- a/input/Makefile
+++ b/input/Makefile
@@ -4,11 +4,7 @@ include ../config.mak
LIBNAME = libinput.a
SRCS=input.c
-ifeq ($(JOYSTICK),yes)
-SRCS += joystick.c
-endif
-ifeq ($(LIRC),yes)
-SRCS += lirc.c
-endif
+SRCS-$(JOYSTICK) += joystick.c
+SRCS-$(LIRC) += lirc.c
include ../mpcommon.mak