diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-12 08:42:01 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-12 08:42:01 +0000 |
commit | af06a4425b1434778e1b9ab1edfa33ffe0f9497e (patch) | |
tree | c73a66db514eddba9160bcf5632d5d53a46b20dc /input/Makefile | |
parent | ad9f507894b36dd206e08b6f5b41176e861b17c9 (diff) | |
download | mpv-af06a4425b1434778e1b9ab1edfa33ffe0f9497e.tar.bz2 mpv-af06a4425b1434778e1b9ab1edfa33ffe0f9497e.tar.xz |
Move conditional compilation to the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19807 b3059339-0415-0410-9bf9-f77b7e298cf2
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) |