Fix no libver handling.

This commit is contained in:
agibert
2002-02-26 16:51:47 +00:00
parent 1f50073641
commit 3002869e96
3 changed files with 15 additions and 9 deletions

View File

@@ -1,7 +1,12 @@
ifdef _LIBVER_SUPPORT
INCLUDE_VER = ../../libver/ver.h
LIB_VER = -I ../../libver
endif
all: libnode.a libnode.so
libnode.o: libnode.c node.h libnode.h ../../libver/ver.h Makefile
gcc -c -g -o libnode.o -I . -I ../../libver libnode.c
libnode.o: libnode.c node.h libnode.h $(INCLUDE_VER) Makefile
gcc -c -g -o libnode.o -I . $(LIB_VER) libnode.c
libnode.a: libnode.o
ar -r libnode.a libnode.o