patch-1.3.19 linux/fs/sysv/Makefile

Next file: linux/fs/umsdos/Makefile
Previous file: linux/fs/smbfs/Makefile
Back to the patch index
Back to the overall index

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