diff options
Diffstat (limited to 'devel/avltree/files/patch-Makefile')
-rw-r--r-- | devel/avltree/files/patch-Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/devel/avltree/files/patch-Makefile b/devel/avltree/files/patch-Makefile new file mode 100644 index 000000000000..cc7b17179757 --- /dev/null +++ b/devel/avltree/files/patch-Makefile @@ -0,0 +1,44 @@ +--- Makefile.orig Thu Jan 13 22:04:47 2000 ++++ Makefile Thu Nov 4 22:36:55 2004 +@@ -3,16 +3,17 @@ + # Date created: 13 January 2000 + # Whom: Bill Ross <bross@nas.nasa.gov> <ross@cgl.ucsf.edu> + # +-CC= cc ++CC?= cc ++CFLAGS?= -O -pipe + + all: libavltree.a + + libavltree.a: avltree.o + $(AR) r libavltree.a avltree.o +- strip libavltree.a ++ ranlib libavltree.a + + avltree.o: avltree.c avltree.h +- $(CC) -c avltree.c ++ $(CC) $(CFLAGS) -c avltree.c + + install: libavltree.a + install -c libavltree.a $(PREFIX)/lib +@@ -25,16 +26,16 @@ + extras: test bench1 bench2 + + test: test.o libavltree.a +- $(CC) -o test test.o libavltree.a ++ $(CC) $(CFLAGS) -o test test.o libavltree.a + + bench1: avl_bench.o libavltree.a +- $(CC) -o bench1 avl_bench.o libavltree.a ++ $(CC) $(CFLAGS) -o bench1 avl_bench.o libavltree.a + + bench2: avl_bench.o db_avl.o +- $(CC) -o bench2 avl_bench.o db_avl.o ++ $(CC) $(CFLAGS) -o bench2 avl_bench.o db_avl.o + + bench3: avl_bench.o bp_avl.o +- $(CC) -o bench3 avl_bench.o bp_avl.o bplus.a ++ $(CC) $(CFLAGS) -o bench3 avl_bench.o bp_avl.o bplus.a + + # + ################## |