From 9bb2b427167eacd9d8f98e95efe88d9eca9772b8 Mon Sep 17 00:00:00 2001 From: agibert Date: Fri, 17 Jan 2003 08:04:24 +0000 Subject: [PATCH] Fix libVer support. --- lib/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index 98893fe..b5218f3 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,12 +1,13 @@ ifdef _LIBVER_SUPPORT - INCLUDE_VER = ../../libver/ver.h - LIB_VER = -I ../../libver + DEP += ../../libver/ver.h + LIBDIR += -I ../../libver + FLAG += -D_LIBVER_SUPPORT endif all: libnode.a libnode.so -libnode.o: libnode.c node.h libnode.h $(INCLUDE_VER) Makefile - gcc -c -g -o libnode.o -I . $(LIB_VER) libnode.c +libnode.o: libnode.c node.h libnode.h $(DEP) Makefile + gcc -c -g -o libnode.o $(FLAG) -I . $(LIBDIR) libnode.c libnode.a: libnode.o ar -r libnode.a libnode.o