From 7b4ca7013c58a67f1ec41478b1bfc250b3485d28 Mon Sep 17 00:00:00 2001 From: Florian Lohoff Date: Sat, 29 Nov 2008 12:16:56 +0000 Subject: Add basic SNIRM support Add basic SNIRM support - Currently has a hardcoded boot location but you get the idea. --- snilib/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 snilib/Makefile (limited to 'snilib/Makefile') diff --git a/snilib/Makefile b/snilib/Makefile new file mode 100644 index 0000000..4e6ec18 --- /dev/null +++ b/snilib/Makefile @@ -0,0 +1,20 @@ +# +# Copyright 1999 Silicon Graphics, Inc. +# +CFLAGS += -O2 -I../common -mno-abicalls -G 0 -fno-pic -ffreestanding -DDEBUG + +TARGETS = libsni.a +OBJECTS = sniprom.o + +all: $(TARGETS) + +$(TARGETS): $(OBJECTS) + rm -f $@ + $(AR) -crs $@ $(OBJECTS) + +install: $(TARGETS) + install -d ${PREFIX}/${LIBDIR} + install -m 644 $< ${PREFIX}/${LIBDIR} + +clean: + rm -f libsni.a $(OBJECTS) *~ tags -- cgit v1.2.3