diff options
Diffstat (limited to 'input/Makefile')
-rw-r--r-- | input/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/input/Makefile b/input/Makefile index dcd64df93f..f829b883bf 100644 --- a/input/Makefile +++ b/input/Makefile @@ -3,7 +3,14 @@ include ../config.mak LIBNAME = libinput.a -SRCS=input.c joystick.c lirc.c +SRCS=input.c +ifeq ($(JOYSTICK),yes) +SRCS += joystick.c +endif +ifeq ($(LIRC),yes) +SRCS += lirc.c +endif + OBJS=$(SRCS:.c=.o) CFLAGS = -I. -I.. $(OPTFLAGS) |