Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the I-Force driver |
| 3 | # |
Johann Deneux | 118e78d | 2007-10-20 00:47:32 +0200 | [diff] [blame^] | 4 | # By Johann Deneux <johann.deneux@gmail.com> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |