mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-04 00:45:40 +03:00
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:
1 parent
6b6840599a
commit
d43d92e40b
1 file changed
+4
-1
@@ -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}
|
||||
|
||||
|
||||
Reference in new issue
Block a user