diff --git a/Makefile.in b/Makefile.in index 35827623..d9b1c555 100644 --- a/Makefile.in +++ b/Makefile.in @@ -29,7 +29,7 @@ HEADERS:=coap.h config.h debug.h pdu.h net.h encode.h uri.h coap_list.h mem.h \ CFLAGS:=-Wall -Wextra -std=c99 -pedantic @CFLAGS@ CPPFLAGS:=@CPPFLAGS@ DISTDIR=$(top_builddir)/$(package) -SUBDIRS:=examples doc @TESTS@ +SUBDIRS:=examples doc tests FILES:=ChangeLog README LICENSE.BSD LICENSE.GPL Makefile.in configure configure.in config.h.in $(SOURCES) $(HEADERS) LIB:=libcoap.a LDSOFLAGS=-shared diff --git a/tests/Makefile.in b/tests/Makefile.in index 741dad74..74d635a7 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -17,7 +17,9 @@ abs_builddir = @abs_builddir@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ # files and flags -PROGRAMS:=testdriver +ifneq (,@TESTS@) + PROGRAMS:=testdriver +endif SOURCES:= test_uri.c test_options.c test_pdu.c test_error_response.c \ test_wellknown.c HEADERS:=$(SOURCES:.c=.h)