patch-1.3.19 linux/fs/smbfs/Makefile
Next file: linux/fs/sysv/Makefile
Previous file: linux/fs/proc/scsi.c
Back to the patch index
Back to the overall index
-  Lines: 24
 -  Date:
Tue Aug 15 15:07:02 1995
 -  Orig file: 
v1.3.18/linux/fs/smbfs/Makefile
 -  Orig date: 
Tue Jul 11 10:02:58 1995
 
diff -u --recursive --new-file v1.3.18/linux/fs/smbfs/Makefile linux/fs/smbfs/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 \
-	ioctl.o mmap.o
-
-smbfs.o: $(OBJS)
-	$(LD) -r -o smbfs.o $(OBJS)
-
-dep:
-	$(CPP) -M *.c > .depend
-
-modules: smbfs.o
+O_TARGET := smbfs.o
+O_OBJS   := proc.o sock.o inode.o file.o dir.o ioctl.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