Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the I-Force driver | |
3 | # | |
118e78d1 | 4 | # By Johann Deneux <johann.deneux@gmail.com> |
1da177e4 LT |
5 | # |
6 | ||
7 | # Goal definition | |
8 | iforce-objs := iforce-ff.o iforce-main.o iforce-packets.o | |
9 | ||
10 | obj-$(CONFIG_JOYSTICK_IFORCE) += iforce.o | |
11 | ||
12 | ifeq ($(CONFIG_JOYSTICK_IFORCE_232),y) | |
13 | iforce-objs += iforce-serio.o | |
14 | endif | |
15 | ||
16 | ifeq ($(CONFIG_JOYSTICK_IFORCE_USB),y) | |
17 | iforce-objs += iforce-usb.o | |
18 | endif | |
19 | ||
20 | EXTRA_CFLAGS = -Werror-implicit-function-declaration |