patch-2.4.19 linux-2.4.19/arch/mips/dec/prom/Makefile

Next file: linux-2.4.19/arch/mips/dec/prom/cmdline.c
Previous file: linux-2.4.19/arch/mips/dec/kn02-irq.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips/dec/prom/Makefile linux-2.4.19/arch/mips/dec/prom/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 1999/01/17 03:49:44 ralf Exp $
+#
 # Makefile for the DECstation prom monitor library routines
 # under Linux.
 #
@@ -8,22 +8,10 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
-.S.s:
-	$(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
-	$(CC) $(CFLAGS) -c $< -o $*.o
-
-OBJS  = init.o memory.o cmdline.o identify.o locore.o
-
-all: 	rexlib.a
-
-rexlib.a: $(OBJS)
-	$(AR) rcs rexlib.a $(OBJS)
-	sync
+USE_STANDARD_AS_RULE := true
 
-locore.o: locore.S
+L_TARGET  = rexlib.a
 
-dep:
-	$(CPP) $(CPPFLAGS) -M *.c > .depend
+obj-y +=  init.o memory.o cmdline.o identify.o locore.o
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)