Fix no libver handling.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user