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

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

diff -u --recursive --new-file v2.2.10/linux/arch/mips/dec/prom/Makefile linux/arch/mips/dec/prom/Makefile
@@ -0,0 +1,29 @@
+# $Id: $
+# Makefile for the DECstation prom monitor library routines
+# under Linux.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# 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
+
+locore.o: locore.S
+
+dep:
+	$(CPP) -M *.c > .depend
+
+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)