patch-1.3.19 linux/fs/ext2/Makefile

Next file: linux/fs/ext2/dir.c
Previous file: linux/fs/ext/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.18/linux/fs/ext2/Makefile linux/fs/ext2/Makefile
@@ -7,18 +7,9 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
-.c.o:
-	$(CC) $(CFLAGS) -c $<
-.s.o:
-	$(AS) -o $*.o $<
-
-OBJS=	acl.o balloc.o bitmap.o dir.o file.o fsync.o ialloc.o \
-	inode.o ioctl.o namei.o super.o symlink.o truncate.o
-
-ext2.o: $(OBJS)
-	$(LD) -r -o ext2.o $(OBJS)
-
-dep:
-	$(CPP) -M *.c > .depend
+O_TARGET := ext2.o
+O_OBJS   := acl.o balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
+		ioctl.o namei.o super.o symlink.o truncate.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