Update of /cvsroot/linuxconsole/ruby/linux/drivers/input/joystick/iforce
In directory usw-pr-cvs1:/tmp/cvs-serv6808
Modified Files:
Makefile
Log Message:
Cleaned up.
Index: Makefile
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/input/joystick/iforce/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile 8 Feb 2002 23:01:04 -0000 1.4
+++ Makefile 10 Feb 2002 23:15:38 -0000 1.5
@@ -1,27 +1,30 @@
#
# Makefile for the I-Force driver
#
+# By Johann Deneux <de...@if...>
+#
-O_TARGET := iforce-drv.o
+# Goal definition
+list-multi := iforce.o
+iforce-objs := iforce-ff.o iforce-main.o iforce-packets.o
obj-$(CONFIG_JOYSTICK_IFORCE) += iforce.o
-include $(TOPDIR)/Rules.make
-
-IFORCEOBJS = iforce-ff.o iforce-main.o iforce-packets.o
-
ifeq ($(CONFIG_JOYSTICK_IFORCE_232),y)
- IFORCEOBJS += iforce-serio.o
+ iforce-objs += iforce-serio.o
endif
ifeq ($(CONFIG_JOYSTICK_IFORCE_USB),y)
- IFORCEOBJS += iforce-usb.o
+ iforce-objs += iforce-usb.o
endif
-iforce.o: $(IFORCEOBJS)
- $(LD) -i $(IFORCEOBJS) -o $@
+EXTRA_CFLAGS = -Werror-implicit-function-declaration
# The global Rules.make.
include $(TOPDIR)/Rules.make
+
+# Additional rules
+iforce.o: $(iforce-objs)
+ $(LD) -r -o $@ $(iforce-objs)
|