projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b7657f
)
Use explicit rules to make test targets.
author
Daniel Carl
<danielcarl@gmx.de>
Wed, 27 Jun 2018 22:37:42 +0000
(
00:37
+0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Wed, 27 Jun 2018 22:41:38 +0000
(
00:41
+0200)
tests/Makefile
patch
|
blob
|
history
diff --git
a/tests/Makefile
b/tests/Makefile
index
75aed18
..
25b1169
100644
(file)
--- a/
tests/Makefile
+++ b/
tests/Makefile
@@
-6,9
+6,13
@@
TEST_PROGS = test-util \
test-shortcut
all: $(TEST_PROGS)
- LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):." gtester --verbose $(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) $(LDFLAGS) -o $@ $< ../$(SRCDIR)/vimb.so
+
clean:
- $(RM)
-f
$(TEST_PROGS)
+ $(RM) $(TEST_PROGS)