summaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn/fprom/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/sn/fprom/Makefile')
-rw-r--r--arch/ia64/sn/fprom/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/ia64/sn/fprom/Makefile b/arch/ia64/sn/fprom/Makefile
new file mode 100644
index 000000000..2192f6ea8
--- /dev/null
+++ b/arch/ia64/sn/fprom/Makefile
@@ -0,0 +1,30 @@
+#
+# This file is subject to the terms and conditions of the GNU General Public
+# License. See the file "COPYING" in the main directory of this archive
+# for more details.
+#
+# Copyright (C) 2000 Silicon Graphics, Inc.
+# Copyright (C) Jack Steiner (steiner@sgi.com)
+#
+
+TOPDIR=../../../..
+HPATH = $(TOPDIR)/include
+
+LIB = ../../lib/lib.a
+
+OBJ=fpromasm.o main.o fw-emu.o fpmem.o
+
+fprom: $(OBJ)
+ $(LD) -static -Tfprom.lds -o fprom $(OBJ) $(LIB)
+
+.S.o:
+ $(CC) -D__ASSEMBLY__ $(AFLAGS) $(AFLAGS_KERNEL) -c -o $*.o $<
+.c.o:
+ $(CC) $(CFLAGS) $(CFLAGS_KERNEL) -c -o $*.o $<
+
+clean:
+ rm -f *.o fprom
+
+
+include $(TOPDIR)/Rules.make
+