patch-1.3.19 linux/fs/msdos/Makefile

Next file: linux/fs/nfs/Makefile
Previous file: linux/fs/minix/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/fs/msdos/Makefile linux/fs/msdos/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=	buffer.o namei.o inode.o file.o dir.o misc.o fat.o mmap.o
-
-msdos.o: $(OBJS)
-	$(LD) -r -o msdos.o $(OBJS)
-
-modules: msdos.o
-	ln -sf ../fs/msdos/msdos.o $(TOPDIR)/modules
-
-dep:
-	$(CPP) -M *.c > .depend
+O_TARGET := msdos.o
+O_OBJS   := buffer.o namei.o inode.o file.o dir.o misc.o fat.o mmap.o
+M_OBJS   := $(O_TARGET)
 
 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