2 # Makefile for the I-Force driver
4 # By Johann Deneux <johann.deneux@gmail.com>
8 iforce-objs := iforce-ff.o iforce-main.o iforce-packets.o
10 obj-$(CONFIG_JOYSTICK_IFORCE) += iforce.o
12 ifeq ($(CONFIG_JOYSTICK_IFORCE_232),y)
13 iforce-objs += iforce-serio.o
16 ifeq ($(CONFIG_JOYSTICK_IFORCE_USB),y)
17 iforce-objs += iforce-usb.o
20 EXTRA_CFLAGS = -Werror-implicit-function-declaration