patch-1.3.19 linux/net/802/Makefile

Next file: linux/net/Makefile
Previous file: linux/mm/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/net/802/Makefile linux/net/802/Makefile
@@ -7,44 +7,24 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
-.c.o:
-	$(CC) $(CFLAGS) -c $<
-.s.o:
-	$(AS) -o $*.o $<
-
-
-OBJS	:= p8023.o
+O_TARGET := 802.o
+O_OBJS	  = p8023.o
 
 ifdef CONFIG_TR
-
-OBJS	:= $(OBJS) tr.o
-
+O_OBJS += tr.o
 endif
 
 ifdef CONFIG_IPX
-
-OBJS	:= $(OBJS) p8022.o psnap.o
-
+O_OBJS += p8022.o psnap.o
 endif
 
 ifdef CONFIG_ATALK
 ifndef CONFIG_IPX
-
-OBJS	:= $(OBJS) p8022.o psnap.o
-
+O_OBJS += p8022.o psnap.o
 endif
 endif
 
-802.o:		$(OBJS)
-		$(LD) -r -o 802.o $(OBJS)
-
-
-dep:
-		$(CPP) -M *.c > .depend
+include $(TOPDIR)/Rules.make
 
 tar:
 		tar -cvf /dev/f1 .
-
-modules:
-
-include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this