summaryrefslogtreecommitdiff
path: root/drivers/input/joystick/iforce/Makefile
blob: 74daff49ab6e1e146415a13c6103ef2e30ba8bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Makefile for the I-Force driver
#
# By Johann Deneux <johann.deneux@gmail.com>
#

# Goal definition
iforce-objs	:= iforce-ff.o iforce-main.o iforce-packets.o

obj-$(CONFIG_JOYSTICK_IFORCE)	+= iforce.o

ifeq ($(CONFIG_JOYSTICK_IFORCE_232),y)
	iforce-objs += iforce-serio.o
endif

ifeq ($(CONFIG_JOYSTICK_IFORCE_USB),y)
	iforce-objs += iforce-usb.o
endif

EXTRA_CFLAGS = -Werror-implicit-function-declaration