aboutsummaryrefslogtreecommitdiff
path: root/arclib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arclib/Makefile')
-rw-r--r--arclib/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/arclib/Makefile b/arclib/Makefile
new file mode 100644
index 0000000..4a53c26
--- /dev/null
+++ b/arclib/Makefile
@@ -0,0 +1,20 @@
+#
+# Copyright 1999 Silicon Graphics, Inc.
+#
+CFLAGS += -O2 -Werror -Wall -mno-abicalls -G 0 -fno-pic
+
+TARGETS = libarc.a
+OBJECTS = arc.o stdio.o stdlib.o string.o
+
+all: $(TARGETS)
+
+$(TARGETS): $(OBJECTS)
+ rm -f $@
+ $(AR) -crs $@ $(OBJECTS)
+
+install: $(TARGETS)
+ install -d ${PREFIX}/${LIBDIR}
+ install -m 644 $< ${PREFIX}/${LIBDIR}
+
+clean:
+ rm -f libarc.a $(OBJECTS) *~ tags