/drivers/input/joystick/iforce/Makefile
Makefile | 20 lines | 9 code | 5 blank | 6 comment | 0 complexity | 254113e48ec78581619f8c85b7d92368 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
1#
2# Makefile for the I-Force driver
3#
4# By Johann Deneux <johann.deneux@gmail.com>
5#
6
7# Goal definition
8iforce-objs := iforce-ff.o iforce-main.o iforce-packets.o
9
10obj-$(CONFIG_JOYSTICK_IFORCE) += iforce.o
11
12ifeq ($(CONFIG_JOYSTICK_IFORCE_232),y)
13 iforce-objs += iforce-serio.o
14endif
15
16ifeq ($(CONFIG_JOYSTICK_IFORCE_USB),y)
17 iforce-objs += iforce-usb.o
18endif
19
20EXTRA_CFLAGS = -Werror-implicit-function-declaration