From 888494172d9d4e821bad1e43772425ef506ced1c Mon Sep 17 00:00:00 2001 From: agibert Date: Fri, 17 Jan 2003 07:53:51 +0000 Subject: [PATCH] Initial revision. --- lib/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/Makefile diff --git a/lib/Makefile b/lib/Makefile new file mode 100644 index 0000000..b33373d --- /dev/null +++ b/lib/Makefile @@ -0,0 +1,13 @@ +all: libver.a libver.so + +libver.o: libver.c ver.h Makefile + gcc -c -g -o libver.o -I . libver.c + +libver.a: libver.o + ar -r libver.a libver.o + +libver.so: libver.o + ld -shared -o libver.so libver.o + +clean: + rm -f libver.o libver.a libver.so