Fix libVer support.

This commit is contained in:
agibert 2003-01-17 08:04:24 +00:00
parent 76e61fb382
commit 9bb2b42716

View File

@ -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