patch-1.3.19 linux/fs/nfs/Makefile

Next file: linux/fs/proc/Makefile
Previous file: linux/fs/msdos/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/fs/nfs/Makefile linux/fs/nfs/Makefile
@@ -7,20 +7,8 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
-.c.o:
-	$(CC) $(CFLAGS) -c $<
-.s.o:
-	$(AS) -o $*.o $<
-
-OBJS=	proc.o sock.o inode.o file.o dir.o \
-	symlink.o mmap.o
-
-nfs.o: $(OBJS)
-	$(LD) -r -o nfs.o $(OBJS)
-
-dep:
-	$(CPP) -M *.c > .depend
-
-modules: nfs.o
+O_TARGET := nfs.o
+O_OBJS   := proc.o sock.o inode.o file.o dir.o symlink.o mmap.o
+M_OBJS   := $(O_TARGET)
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this