2002-02-26 00:38:22 +01:00
|
|
|
ifdef _LIBVER_SUPPORT
|
|
|
|
INCLUDE_VER = ../../libver/ver.h
|
|
|
|
LIB_VER_STATIC = -I ../../libver ../../libver/libver.a
|
|
|
|
LIB_VER_DYNAMIC = -I ../../libver -L ../../libver -lver
|
|
|
|
endif
|
2001-11-26 11:17:43 +01:00
|
|
|
|
2002-02-26 00:38:22 +01:00
|
|
|
all: ndbench ndbench-static
|
2001-11-26 11:17:43 +01:00
|
|
|
|
2002-02-26 00:38:22 +01:00
|
|
|
ndbench-static: ndbench.c $(INCLUDE_VER) ../lib/node.h ../../libver/libver.so ../lib/libnode.so Makefile
|
|
|
|
gcc -g -o ndbench-static -I ../lib ndbench.c -ldl $(LIB_VER_STATIC) ../lib/libnode.a
|
|
|
|
|
|
|
|
ndbench: ndbench.c $(INCLUDE_VER) ../lib/node.h ../../libver/libver.so ../lib/libnode.so Makefile
|
|
|
|
gcc -g -o ndbench -ldl $(LIB_VER_DYNAMIC) -I ../lib -L ../lib -lnode ndbench.c
|
2001-11-26 11:17:43 +01:00
|
|
|
|
|
|
|
clean:
|
2002-02-26 00:38:22 +01:00
|
|
|
rm -f ndbench ndbench-static
|