patch-1.3.38 linux/Rules.make
Next file: linux/arch/alpha/config.in
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
-  Lines: 18
 -  Date:
Tue Nov  7 19:46:15 1995
 -  Orig file: 
v1.3.37/linux/Rules.make
 -  Orig date: 
Mon Sep 25 12:26:20 1995
 
diff -u --recursive --new-file v1.3.37/linux/Rules.make linux/Rules.make
@@ -32,13 +32,14 @@
 #
 # Common rules
 #
-.c.s:
+
+%.s: %.c
 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -S $< -o $@
 
-.c.o:
+%.o: %.c
 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 
-.s.o:
+%.o: %.s
 	$(AS) $(ASFLAGS) $(EXTRA_CFLAGS) -o $@ $<
 
 #
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