common/test_sphinx: change to standard run- format.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-11-01 12:28:25 +10:30 committed by Christian Decker
parent b7774fcb0a
commit ab634dfcdd
2 changed files with 2 additions and 3 deletions

View file

@ -1,10 +1,8 @@
COMMON_TEST_SRC := \
common/test/test_sphinx.c
COMMON_TEST_SRC := $(wildcard common/test/run-*.c)
COMMON_TEST_OBJS := $(COMMON_TEST_SRC:.c=.o)
COMMON_TEST_PROGRAMS := $(COMMON_TEST_OBJS:.o=)
COMMON_TEST_COMMON_OBJS := \
common/sphinx.o \
common/utils.o
$(COMMON_TEST_PROGRAMS): $(COMMON_TEST_COMMON_OBJS) $(BITCOIN_OBJS)

View file

@ -1,3 +1,4 @@
#include "../sphinx.c"
#include <secp256k1.h>
#include <ccan/opt/opt.h>
#include <ccan/short_types/short_types.h>