patch-1.3.19 linux/net/ax25/Makefile

Next file: linux/net/ax25/af_ax25.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/net/ax25/Makefile linux/net/ax25/Makefile
@@ -7,29 +7,15 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
-.c.o:
-	$(CC) $(CFLAGS) -c $<
-.s.o:
-	$(AS) -o $*.o $<
 
-
-OBJS	:= af_ax25.o
+O_TARGET := ax25.o
+O_OBJS	 := af_ax25.o
 
 ifdef CONFIG_AX25
-
-OBJS	:= $(OBJS) ax25_in.o ax25_out.o ax25_route.o ax25_subr.o ax25_timer.o
-
+OBJS	+= ax25_in.o ax25_out.o ax25_route.o ax25_subr.o ax25_timer.o
 endif
 
-ax25.o:		$(OBJS)
-		$(LD) -r -o ax25.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