mirror of
https://github.com/radareorg/sdb.git
synced 2026-11-09 04:29:36 -10:00
19 lines
320 B
Makefile
19 lines
320 B
Makefile
include ../sdb-test.mk
|
|
|
|
TESTS=array new sync set reset stack
|
|
CFLAGS+=-I../../include
|
|
LDFLAGS+=../../src/libsdb.a
|
|
BINS=$(addprefix bench-,${TESTS})
|
|
OBJS=$(addsuffix .o,${BINS})
|
|
|
|
all: ${BINS}
|
|
|
|
%: %.c
|
|
${CC} ${CFLAGS} -o $@ $< ${LDFLAGS}
|
|
|
|
run test:
|
|
for a in ${TESTS} ; do ./bench-$$a ; done
|
|
|
|
clean:
|
|
rm -f ${BINS} ${OBJS}
|