diff input/Makefile @ 21309:ef59ac68c9b6

FFmpeg-style dependency declaration
author diego
date Mon, 27 Nov 2006 13:42:36 +0000
parents 92b122592776
children 8bcff5c7e387
line wrap: on
line diff
--- a/input/Makefile	Mon Nov 27 13:38:13 2006 +0000
+++ b/input/Makefile	Mon Nov 27 13:42:36 2006 +0000
@@ -4,11 +4,7 @@
 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