blob: 097a3cb6f59e0d4a689b0cf21356cb65c8ea59cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
CPPFLAGS = -I ../
include ../config.mk
TEST_PROGS = test-util \
test-shortcut
all: $(TEST_PROGS)
$(Q)LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):." gtester --verbose $(TEST_PROGS)
${TEST_PROGS}: ../$(SRCDIR)/vimb.so
test-%: test-%.c
@echo "${CC} $@"
$(Q)$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< ../$(SRCDIR)/vimb.so $(LDFLAGS)
clean:
$(RM) $(TEST_PROGS)
|