examples/lwip: depend on coap.h

The handcrafted Makefile will not attempt to build the coap.h, but will
indicate to the user how to generate it.
This commit is contained in:
chrysn authored and Olaf Bergmann committed 2016-06-22 12:51:46 +02:00
1 parent 6b6840599a
commit d43d92e40b
1 file changed
+4 -1
+4 -1
View File
@@ -43,7 +43,10 @@ CFLAGS += -Ilwip/src/include/ -Ilwip/src/include/ipv4/ -Ilwip-contrib/ports/unix
OBJS = server.o server-coap.o ${LWIPOBJS} ${COAPOBJS}
${OBJS}: lwip lwip-contrib
../../include/coap/coap.h:
@echo "Error: coap.h not present. Run teh autotools chain (\`./autogen.sh && ./configure\`) in the project root directory to build the required coap.h file."
@exit 1
${OBJS}: lwip lwip-contrib ../../include/coap/coap.h
server: ${OBJS}